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

Handle multiple environments #126

Open
lumo10 opened this issue Dec 13, 2022 · 5 comments
Open

Handle multiple environments #126

lumo10 opened this issue Dec 13, 2022 · 5 comments

Comments

@lumo10
Copy link

lumo10 commented Dec 13, 2022

Is it possible to enhance the .env file to support multiple environments (prod, stage, dev for example) so that I can choose which environment to publish the widget to? in this case the widget.yml will contain a list of IDs, one for each environment, and I won't have to change it manually every time.

Thank you

@Bobspadger
Copy link

Fantastic idea.

@matt-bailey
Copy link

Yes, we need this too.

@harnerdesigns
Copy link

Throwing another 👍️ for support. This would be super helpful.

Right now I just keep .env, .env.staging, & .env.prod files in the widget folder root. and then widget.yml, widget.staging.yml, & widget.prod.yml files for each widget. Then when I need to push to production, I just copy and paste the values for the .prod files to their appropriate place.

@Bobspadger
Copy link

Throwing another 👍️ for support. This would be super helpful.

Right now I just keep .env, .env.staging, & .env.prod files in the widget folder root. and then widget.yml, widget.staging.yml, & widget.prod.yml files for each widget. Then when I need to push to production, I just copy and paste the values for the .prod files to their appropriate place.

Yep same here, works but a bit of a pain to manage.

@josereyes52
Copy link

We need this 👍🏽

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

5 participants