Commit 6331d62b authored by Marcus M. Scheunemann's avatar Marcus M. Scheunemann

Merge branch 'article-auto-deploy'

parents ba941056 32e8161e
Pipeline #41646392 passed with stages
in 5 minutes and 40 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,14 +8,11 @@ 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:
......@@ -23,4 +20,4 @@ deploy website:
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
- 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