Commit 94f08f09 authored by Marcus M. Scheunemann's avatar Marcus M. Scheunemann

Merge branch 'test-ci' for testing and deploying commits

parents 1635fa3c 92ba1c52
image: ubuntu:16.04
before_script:
- apt update -y && apt install rsync git python-pip -y
- pip install virtualenv
generate website:
script:
- git submodule update --init
- virtualenv pelican
- source pelican/bin/activate
- pip install -r requirements.txt
- pelican content -o output -s pelicanconf.py
deploy website:
type: deploy
only:
- master
script:
- git submodule update --init
- virtualenv pelican
- source pelican/bin/activate
- pip install -r requirements.txt
- pelican content -o output -s publishconf.py
- lftp $FTP_SERVER -u $FTP_USER,$FTP_PASS -e "mirror -R output/ / ; quit"
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