Skip to content

Instantly share code, notes, and snippets.

@talentlessguy
Created May 8, 2020 10:49
Show Gist options
  • Save talentlessguy/e1eb6167a4f0b00fc15e4712a57e52f4 to your computer and use it in GitHub Desktop.
Save talentlessguy/e1eb6167a4f0b00fc15e4712a57e52f4 to your computer and use it in GitHub Desktop.
Simple rsync deploy script
echo Deploying to $SSH_SERVER by $SSH_USER...
rsync -r --delete -v -e ssh (pwd)/dist/* $SSH_USER@$SSH_SERVER:/home/$SSH_USER/www/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment