Key links

e.g.

  • package.json:
      {
       "scripts": {
         "build": "...",
         "predeploy": "npm run build",
         "deploy": "gh-pages -d build"
        },
    
        "homepage" : "https://MichaelCurrin.github.io/my-app"
      }
    

Then deploy to GH Pages with GH_TOKEN set locally or in CI.

$ npm run deploy