ca marche ?
This commit is contained in:
parent
a484a4f9d5
commit
81d1ba25ad
1 changed files with 2 additions and 7 deletions
|
@ -9,12 +9,7 @@ deploy:
|
|||
- apt-get install -y lftp
|
||||
|
||||
script:
|
||||
# - make all -j8 # build the pdf
|
||||
- echo $FTP_USER
|
||||
- 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
|
||||
- make all -j8 # build the pdf
|
||||
- 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
|
||||
only:
|
||||
- master # deploy the pdf only for commits made to the master branch
|
||||
|
|
Loading…
Reference in a new issue