Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevmo/2e26f87f091af1e35676 to your computer and use it in GitHub Desktop.
Save kevmo/2e26f87f091af1e35676 to your computer and use it in GitHub Desktop.
git checkout master
git pull origin master
npm install
gulp
git add <-f> dist
git commit -m "Add /dist commit for gh-pages deployment"
git subtree split --prefix dist <master>
^^^^^this should give you a bunch of readout + a SHA^^^
git push <staging> <SHA>:gh-pages --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment