Commit 05fcc39b authored by Marcus M. Scheunemann's avatar Marcus M. Scheunemann

"build website" job

parent ba941056
Pipeline #41645760 (#2) passed with stage
in 1 minute and 53 seconds
image: ubuntu:18.04 image: ubuntu:latest
before_script: before_script:
- apt update -qq && apt install -y -qq git python-pip - apt update -qq && apt install -y -qq git python-pip
...@@ -8,19 +8,7 @@ before_script: ...@@ -8,19 +8,7 @@ before_script:
- source pelican/bin/activate - source pelican/bin/activate
- pip install -q -r requirements.txt - pip install -q -r requirements.txt
generate website: build website:
stage: build stage: build
script: script:
- pelican content -o output -s - pelican content -o output -s
\ No newline at end of file
- website/
deploy website:
stage: deploy
- master
- pelican content -o output -s
- apt install -y -qq lftp
- lftp $FTP_SERVER -u $FTP_USER,$FTP_PASS -e "mirror -R output/ / ; quit"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment