Update .gitlab-ci.yml file
@@ -20,7 +20,14 @@ ftp_upload:
20
20
script:
21
21
- apt-get update -qy
22
22
- apt-get install -y lftp
23
- lftp -u $timftpuser,$timftppassword $timftphost -e "set ssl:verify-certificate no; set sftp:auto-confirm yes; rm -r $projectftp; mirror -R web $projectftp"
23
- |
24
lftp -u "$timftpuser","$timftppassword" "$timftphost" <<EOF
25
set ssl:verify-certificate no;
26
set sftp:auto-confirm yes;
27
cd "$projectftp"
28
mirror -R --delete \
29
--exclude-glob data/** \
30
./web .
24
31
artifacts:
25
32
paths:
26
33
- web
@@ -20,7 +20,14 @@ ftp_upload:20
script:20
script:21
- apt-get update -qy21
- apt-get update -qy22
- apt-get install -y lftp22
- apt-get install -y lftp23
- lftp -u $timftpuser,$timftppassword $timftphost -e "set ssl:verify-certificate no; set sftp:auto-confirm yes; rm -r $projectftp; mirror -R web $projectftp"23
- |24
lftp -u "$timftpuser","$timftppassword" "$timftphost" <<EOF25
set ssl:verify-certificate no; 26
set sftp:auto-confirm yes; 27
cd "$projectftp"28
mirror -R --delete \29
--exclude-glob data/** \30
./web .24
artifacts:31
artifacts:25
paths:32
paths:26
- web33
- web