diff options
Diffstat (limited to 'push-gh-pages.sh')
-rwxr-xr-x | push-gh-pages.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/push-gh-pages.sh b/push-gh-pages.sh new file mode 100755 index 0000000..04ee2fb --- /dev/null +++ b/push-gh-pages.sh @@ -0,0 +1,7 @@ +#!/bin/bash +git clone --depth=0 [email protected]:victorhaggqvist/touch-imagelightbox.git --branch gh-pages gh-pages +rm -rf gh-pages/* +cp demo/* gh-pages +git add . +git commit -m "$(git rev-parse --git-dir=../.git --short HEAD)" +git push origin gh-pages |