From 1f86e58a863704057327543c81a39bea027d21c2 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Fri, 1 Sep 2017 18:43:46 +0200 Subject: [PATCH] trying other lftp mirror setting --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2075340..7634475 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ deploy: - cat index.html - mkdir _for_upload - mv assets build conf index.html _for_upload - - lftp -c "set sftp:auto-confirm yes; open -u intern_basispanel_ui,$FTP_PASSWORD sftp://ftp.basehosts.de;mkdir -f /$CI_COMMIT_REF_NAME; mirror -v --ignore-time -c -e -R -L _for_upload/ /$CI_COMMIT_REF_NAME" + - lftp -c "set sftp:auto-confirm yes; open -u intern_basispanel_ui,$FTP_PASSWORD sftp://ftp.basehosts.de;mkdir -f /$CI_COMMIT_REF_NAME; mirror -v -n -e -R -L _for_upload/ /$CI_COMMIT_REF_NAME" environment: name: $CI_COMMIT_REF_NAME url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/ @@ -52,6 +52,6 @@ deploy_fullsync: script: - mkdir _for_upload - mv assets build conf index.html _for_upload - - lftp -c "set sftp:auto-confirm yes; open -u intern_basispanel_ui,$FTP_PASSWORD sftp://ftp.basehosts.de;mkdir -f /$CI_COMMIT_REF_NAME; mirror -v -c -e -R -L _for_upload/ /$CI_COMMIT_REF_NAME" + - lftp -c "set sftp:auto-confirm yes; open -u intern_basispanel_ui,$FTP_PASSWORD sftp://ftp.basehosts.de;mkdir -f /$CI_COMMIT_REF_NAME; mirror -v --transfer-all -e -R -L _for_upload/ /$CI_COMMIT_REF_NAME" when: manual