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

"build website" job

parent ba941056
Pipeline #41645760 passed with stage
in 1 minute and 53 seconds
image: ubuntu:18.04
image: ubuntu:latest
before_script:
- apt update -qq && apt install -y -qq git python-pip
- git submodule update --init
......@@ -8,19 +8,7 @@ before_script:
- source pelican/bin/activate
- pip install -q -r requirements.txt
generate website:
build website:
stage: build
script:
- pelican content -o output -s pelicanconf.py
artifacts:
paths:
- website/
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
- pelican content -o output -s pelicanconf.py
\ 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