anapaulaoliva / Conways_Game_of_Life

Figuring out how mathematical game "Life" works with React Hooks, Immer.
https://anapaulaoliva.github.io/Conways_Game_of_Life/
0 stars 0 forks source link

cannot update ghpages branch for deploy #4

Open anapaulaoliva opened 4 years ago

anapaulaoliva commented 4 years ago

https://gist.github.com/mandiwise/44d1edce18f2ffb14f63

anapaulaoliva commented 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

anapaulaoliva commented 4 years ago

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.

anapaulaoliva commented 4 years ago

think it was npm run deploy actually