Commit 855fc04f authored by Marcus M. Scheunemann's avatar Marcus M. Scheunemann

reduce output (apt: only errors, pip: only warnings/errors), install lftp

parent 94f08f09
image: ubuntu:16.04
before_script:
- apt update -y && apt install rsync git python-pip -y
- pip install virtualenv
- apt update -qq && apt install -y -qq lftp git python-pip
- python -V
- pip -V
- pip install virtualenv -q
generate website:
script:
- git submodule update --init
- virtualenv pelican
- source pelican/bin/activate
- pip install -r requirements.txt
- pip install -q -r requirements.txt
- pelican content -o output -s pelicanconf.py
deploy website:
......@@ -20,6 +22,6 @@ deploy website:
- git submodule update --init
- virtualenv pelican
- source pelican/bin/activate
- pip install -r requirements.txt
- pip install -q -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