Skip to content
Snippets Groups Projects

add rsync cmd

Merged Laurent Heirendt requested to merge rsync into develop
1 file
+ 2
3
Compare changes
  • Side-by-side
  • Inline
+ 2
3
@@ -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
Loading