gh-pages -d build gives Error “file” argument must be a non-empty string

后端 未结 2 899
一向
一向 2021-01-19 03:23

I included all the steps for deploying my create react app on github. snippet of my package.json

\"scripts\": {
    \"start\": \"node scripts/start.js\",
            


        
2条回答
  •  有刺的猬
    2021-01-19 04:03

    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

提交回复
热议问题