Last active
December 18, 2015 23:29
-
-
Save sskylar/5861705 to your computer and use it in GitHub Desktop.
Siteleaf Git hook, pushes theme changes to Siteleaf on `commit` or `push`. Name file `.git/hooks/pre-commit` for commit hook, or `.git/hooks/pre-push` for push hook (push hook available in Git 1.8.2+). Make sure to add file execute permissions in order for this to work.
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 | |
echo "Pushing Siteleaf theme..." | |
siteleaf push theme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment