jrollin / angular-build-once

Deploy Angular project to multiple environnements with one build

Home Page:https://jrollin.github.io/angular-build-once

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Deploy Angular project to multiple environnements with one build

https://jrollin.github.io/angular-build-once


Languages

Language:HTML 45.8%Language:TypeScript 41.9%Language:JavaScript 12.0%Language:CSS 0.4%