This commit is contained in:
Pierre-antoine Comby 2019-06-25 22:04:13 +02:00
parent 42dc956558
commit 5a3bcab127

View file

@ -13,10 +13,9 @@ deploy:
- ssh-keyscan zamok.crans.org >> ~/.ssh/known_hosts - ssh-keyscan zamok.crans.org >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
script: script:
- make all -j8 # build the pdf - make all -j8 # build the pdf
- scp -r public comby@zamok.crans.org:www/m1-eea - scp public/* comby@zamok.crans.org:www/m1-eea
# - lftp -e "set ftp:ssl-allow false; set sftp:auto-confirm yes; mirror -R public www/m1-eea; bye" -u $FTP_USER,$FTP_PASSWORD sftp://zamok.crans.org # - lftp -e "set ftp:ssl-allow false; set sftp:auto-confirm yes; mirror -R public www/m1-eea; bye" -u $FTP_USER,$FTP_PASSWORD sftp://zamok.crans.org
only: only:
- master # deploy the pdf only for commits made to the master branch - master # deploy the pdf only for commits made to the master branch