Skip to content

Commit

Permalink
Update deploy script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamiel committed Aug 26, 2024
1 parent 57b54cf commit e88d3ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sites/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@ set -e
set -u

SITES_DIR=$(dirname "$0")
rsync --archive --verbose --compress --delete -e "ssh -i $PRIVATE_KEY_FILE -o 'StrictHostKeyChecking=no' -p $SSH_PORT" "$SITES_DIR/hurl.dev/_site/" "$SSH_USER"@hurl.dev:www
rsync --archive \
--verbose \
--compress \
--delete \
--rsh "ssh -i $PRIVATE_KEY_FILE -o 'StrictHostKeyChecking=no' -p $SSH_PORT" \
--exclude "releases.csv" \
"$SITES_DIR/hurl.dev/_site/" "$SSH_USER"@hurl.dev:www

0 comments on commit e88d3ae

Please sign in to comment.