trying other lftp mirror setting
This commit is contained in:
parent
0533437622
commit
1f86e58a86
@ -36,7 +36,7 @@ deploy:
|
|||||||
- cat index.html
|
- cat index.html
|
||||||
- mkdir _for_upload
|
- mkdir _for_upload
|
||||||
- mv assets build conf index.html _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:
|
environment:
|
||||||
name: $CI_COMMIT_REF_NAME
|
name: $CI_COMMIT_REF_NAME
|
||||||
url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/
|
url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/
|
||||||
@ -52,6 +52,6 @@ deploy_fullsync:
|
|||||||
script:
|
script:
|
||||||
- mkdir _for_upload
|
- mkdir _for_upload
|
||||||
- mv assets build conf index.html _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
|
when: manual
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user