How to manage multiple deployments with the same Build
App deployed on Github pages with custom env : envName
and apiUrl
yarn
Start
yarn start
Test
yarn test
Build
yarn build
Use gh-pages
node module to deploy to github pages
npm run deploy:gh
To customize application name
and api URL
, we replaced /dist/env.js
by /deploy/github.env.js