add deploy

This commit is contained in:
zapashcanon 2019-11-19 03:34:47 +01:00
parent 0c6e3e5bfd
commit 7d296895cb
Signed by: zapashcanon
GPG Key ID: 8981C3C62D1D28F1

View File

@ -10,6 +10,8 @@ packages:
- unzip
sources:
- https://git.zapashcanon.fr/zapashcanon/internship-report-datacert
secrets:
- ec1f49cd-38dc-41d9-89f4-c3b6ecd7bcad # ssh deploy key
tasks:
- setup: |
curl https://www.evertype.com/emono/evermono.zip --output evermono.zip
@ -20,3 +22,6 @@ tasks:
cd internship-report-datacert
make
ls main.pdf
- deploy: |
cd internship-report-datacert
scp -o StrictHostKeyChecking=no -q main.pdf fs@zapashcanon.fr:/var/www/fs.zapashcanon.fr/pdf/internship-report-datacert.pdf