Skip to content
Snippets Groups Projects
Commit 3a3a115e authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'rsync' into 'develop'

add rsync cmd

See merge request !142
parents 67ab4ca2 2135a037
No related branches found
No related tags found
2 merge requests!144[release] Regular merge of develop,!142add rsync cmd
Pipeline #57807 failed
......@@ -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