Skip to content
Snippets Groups Projects
Verified Commit 2135a037 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

add rsync cmd

parent 67ab4ca2
No related branches found
No related tags found
2 merge requests!144[release] Regular merge of develop,!142add rsync cmd
......@@ -83,6 +83,5 @@ upload:
- if: $CI_COMMIT_BRANCH == "develop"
- if: $CI_COMMIT_BRANCH == "master"
script:
- ssh -p $SSHPORT $SSHCONNECT "rm -rf ~/web/latest/*"
- scp -P $SSHPORT -r site/* $SSHCONNECT:~/web/latest
- scp -P $SSHPORT -r public/* $SSHCONNECT:~/web/latest
- rsync -ravu --info=progress2 -e "ssh -p $SSHPORT" site/* $SSHCONNECT:~/web/latest
- rsync -ravu --info=progress2 -e "ssh -p $SSHPORT" public/* $SSHCONNECT:~/web/latest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment