aws-amplify / aws-amplify/amplify-cli
Amplify Front End Multi-Environments deployment
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
**Which Category is your question related to?**
Multi Environment Deployments
**Amplify CLI Version**
4.13.1
**Provide additional details e.g. code snippets**
I am using different environment in my Font End Angular8 app and to build it in different environments, we have multiple commands like:
"build": "ng build --prod --configuration=dev",
"build-test": "ng build --prod --configuration=test",
But when I run amplify publish, the Build command in project-config.json is:
**npm run-script build**
so this will only run with the dev configuration.
What is the best way to run it with the"test" configuration other than creating a new branch and changing the BuildCommand in that branch.
Contributor guide
Assessment
This issue has not been assessed yet.