aboutsummaryrefslogtreecommitdiff
path: root/push-gh-pages.sh
blob: 04ee2fb014dac9708f2d115e17e93ea8d08e8668 (plain)
1
2
3
4
5
6
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