From 81d1ba25adc3ef6a7038c9e5a5611758b723fb62 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Thu, 20 Jun 2019 10:43:00 +0200 Subject: [PATCH] ca marche ? --- .gitlab-ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c14392..52c4dab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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