I included all the steps for deploying my create react app on github. snippet of my package.json
\"scripts\": {
\"start\": \"node scripts/start.js\",
I think the command is like this.
gatsby -d public -b master
Where public is the folder you want to push and master is the branch you want to push to. Please run your build before this
Got the same issue; this answer solved my problem: https://stackoverflow.com/a/57315930/11879312
"Seems like a bug in gh-pages 2.1. I solved mine by downgrading gh-pages to version 2.0: yarn add gh-pages@2.0 -D or npm install gh-pages@2.0 --dev."