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

Allow multiple plenti.json config files #183

Closed
jimafisk opened this issue Mar 21, 2022 · 1 comment
Closed

Allow multiple plenti.json config files #183

jimafisk opened this issue Mar 21, 2022 · 1 comment

Comments

@jimafisk
Copy link
Member

Some users might want to have different build options in different environments. For example maybe you want one baseurl in a dev env, then another baseurl in stg, and finally no baseurl in prod. In this case you should be able to define 3 config files (each with a different baseurl):

  • plenti.dev.json
  • plenti.stg.json
  • plenti.prod.json

Then during CI point to the correct file specifically:

  • plenti build --config=plenti.dev.json
  • plenti build --config=plenti.stg.json
  • plenti build --config=plenti.prod.json
@jimafisk
Copy link
Member Author

The --config flag is available in v0.5.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant