ca marche ?

This commit is contained in:
Pierre-antoine Comby 2019-06-20 10:43:00 +02:00
parent a484a4f9d5
commit 81d1ba25ad

View file

@ -9,12 +9,7 @@ deploy:
- apt-get install -y lftp - apt-get install -y lftp
script: script:
# - make all -j8 # build the pdf - make all -j8 # build the pdf
- echo $FTP_USER - lftp -e "set ftp:ssl-allow false; set sftp:auto-confirm yes; debug; mirror -R public www/m1-eea; bye" -u $FTP_USER,$FTP_PASSWORD sftp://zamok.crans.org
- echo $FTP_PASSWORD
- lftp -e "set ftp:ssl-allow false; set sftp:auto-confirm yes; debug; mirror -R img www/m1-eea; bye" -u $FTP_USER,$FTP_PASSWORD sftp://zamok.crans.org
artifacts:
paths:
- public # instruct GitLab to keep the public folder
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