Created
February 17, 2015 19:47
-
-
Save volkstrader/400c13a11967ebcf728e to your computer and use it in GitHub Desktop.
Publish the contents from grunt dist to GitHub
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
rsync -a --delete \ | |
--delete-excluded .git \ | |
--delete-excluded .gitignore \ | |
--delete-excluded publish.sh \ | |
--delete-excluded CNAME \ | |
~/sites/thesite/src/dist/ . | |
git add --all | |
git commit -m "published on `date`" | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment