Created
May 27, 2015 21:11
-
-
Save yaf/a5e89e90346dd06eeba9 to your computer and use it in GitHub Desktop.
From a source branch that generate in a _site directory a static web site to a gh-pages branch !
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 | |
git co gh-pages && git co source:_site -- . && git ci -m 'update site' && git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment