Skip to content

Commit a4f31d1

Browse files
oktomusdictoon
authored andcommitted
Fix delete flag to keep a synced version of the build on DO
1 parent cd4aa5a commit a4f31d1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/travis/deploy-linux-build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,16 @@ echo $DEPLOY_SSH_KEY >> $HOME/.ssh/known_hosts
6767
# Send build to server.
6868
export SSHPASS=$DEPLOY_PASSWORD
6969
sshpass -e rsync \
70-
-raz --stats --no-perms --no-owner --no-group --delete \
70+
--recursive \
71+
--archive \
72+
--compress \
73+
--stats \
74+
--no-perms --no-owner --no-group \
7175
--include="build_report.txt" \
7276
--include="sanbox/" \
7377
--include="scripts/" \
7478
--include="prebuilt-linux-deps/" \
79+
--delete-after \
7580
./* \
7681
$DEPLOY_USER@$DEPLOY_URL:$DEPLOY_FOLDER
7782

0 commit comments

Comments
 (0)