Commit 32e8161e authored by Marcus Scheunemann's avatar Marcus Scheunemann

"deploy website" job

parent 05fcc39b
Pipeline #41646242 passed with stage
in 1 minute and 40 seconds
......@@ -11,4 +11,13 @@ before_script:
build website:
stage: build
script:
- pelican content -o output -s pelicanconf.py
\ No newline at end of file
- pelican content -o output -s pelicanconf.py
deploy website:
stage: deploy
only:
- master
script:
- pelican content -o output -s publishconf.py
- 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