Created
May 8, 2020 10:49
-
-
Save talentlessguy/e1eb6167a4f0b00fc15e4712a57e52f4 to your computer and use it in GitHub Desktop.
Simple rsync deploy script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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