Created
June 1, 2020 10:59
-
-
Save yoanmalie/6d0e52e518364be0e0c5c792f5a1e639 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
# Deploy through Rsync to the server | |
echo "Uploading files…" | |
rsync -avhP --delete --update --exclude 'site/accounts/.logins' --exclude 'site/cache/*' --exclude '.DS_Store' --exclude '.gitkeep' ~/Projets/portfolio/ user@host.com:~/portfolio | |
echo "Uploading done!" | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment