calband / calchart-viewer

An online show viewer and continuity generator for Calchart.
calband.github.io/calchart-viewer/
2 stars 2 forks source link

Push script #176

Closed noahsark769 closed 8 years ago

noahsark769 commented 8 years ago

It might be nice to have an automated way to deploy the site, instead of just manually checking out gh-pages and gitignoring that stuff every deploy. I wrote something like this at https://github.com/noahsark769/noahgilmore.com/blob/master/scripts/push.py, perhaps we could adopt it in some form.

brandonchinn178 commented 8 years ago

+1 one thing I did at my work was a script that basically did:

git clone <repo>
git checkout --orphan gh-pages
# build any files
# could even remove .gitignore for this branch
git push -f origin gh-pages

Since the gh-pages branch doesn't care about having a history. Down for this idea?