Skip to content

Setting env variables for both prod en preview #383

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

Open
remihuigen opened this issue Nov 21, 2024 · 1 comment
Open

Setting env variables for both prod en preview #383

remihuigen opened this issue Nov 21, 2024 · 1 comment
Labels
admin enhancement New feature or request

Comments

@remihuigen
Copy link

Is your feature request related to a problem? Please describe.
My env variables for preview and production environments are often out of sync. When adding new vars, I usually forget to do the same for the preview environment

Describe the solution you'd like
Most of my variables are shared between environments. For me personally, it would make sense to set any new variables added to production env, automatically to preview environment. However, this probably isn't the case for everybody.

Alternatively, upon adding (i.e. saving) new vars to production environment, you could show a notification in the UI prompting "copy these variables to preview environment" (or vice versa)

@atinux atinux added enhancement New feature or request admin labels Nov 21, 2024 — with Linear
@atinux
Copy link
Contributor

atinux commented Feb 4, 2025

As we are working on the new CF Workers integration, we are keeping this idea in mind :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants