Open anapaulaoliva opened 4 years ago
$ git add . $ git status // to see what changes are going to be commited $ git commit -m 'Some descriptive commit message' $ git push origin master
$ git checkout gh-pages // go to the gh-pages branch $ git rebase master // bring gh-pages up to date with master $ git push origin gh-pages // commit the changes $ git checkout master // return to the master branch
this steps above are not necessary if you've installed gh-pages npm before in your app.
just keeping ahead gh-pages -> master branches
and then running npm run build
will make it work.
think it was npm run deploy actually
https://gist.github.com/mandiwise/44d1edce18f2ffb14f63