Revert "ci: Tweak deployment pipeline"

This reverts commit b2eef32f30.
This commit is contained in:
Harsh Shandilya 2020-01-31 21:52:26 +05:30
parent 0a8adfe3a2
commit 5713a6e7e9
1 changed files with 1 additions and 2 deletions

View File

@ -6,5 +6,4 @@ echo "$ACTIONS_DEPLOY_KEY" > "$SSHDIR/key"
chmod 600 "$SSHDIR/key"
export SERVER_DEPLOY_STRING="$SSH_USERNAME@$SERVER_ADDRESS:$SERVER_DESTINATION"
cd "$GITHUB_WORKSPACE/public"
rsync -ahvcr --omit-dir-times --progress --delete --no-o --no-g -e "ssh -i $SSHDIR/key -o StrictHostKeyChecking=no -p $SSH_PORT" . "$SERVER_DEPLOY_STRING" || true
exit 0
rsync -ahvcr --progress --delete --no-o --no-g -e "ssh -i $SSHDIR/key -o StrictHostKeyChecking=no -p $SSH_PORT" . "$SERVER_DEPLOY_STRING"