Angular : CI / CD with one build
How to manage multiple deployments with the same Build
Example
App deployed on Github pages with custom env : envName
and apiUrl
Installation
npm install
Usage
Serve
npm run start
Test
npm run test
Build
npm run build
Deploy
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