Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally override build comand or env vars per distributions #7

Open
bravomartin opened this issue Jun 17, 2019 · 0 comments
Open
Labels

Comments

@bravomartin
Copy link
Member

Lets say you want to be able to easily assign a different api target depending on the distribution.
on the options I would like to be able to either pass flags to the build command, or define env variables, or just be able to run a different command than the default.

...
"buildCommand": "npm run build",
	"environments": {
		"staging": {
			"stack": "my-app-staging",
			"bucket": "my-app-staging",
			"htmlCache": "60",
			"assetsCache": "31536000",
		"production": {
			"stack": "my-app-production",
			"bucket": "my-app-production",
			"htmlCache": "60",
			"assetsCache": "31536000",
>>                       "buildCommand": "npm run build:production"
		},
...
@runemadsen runemadsen transferred this issue from another repository Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants