/react-build-once

Build once and deploy to multiple environments

Primary LanguageJavaScript

React : Deploy 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

yarn 

Usage

Start

yarn start

Test

yarn test

Build

yarn  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