core icon indicating copy to clipboard operation
core copied to clipboard

Setting env variables for both prod en preview

Open remihuigen opened this issue 1 year ago • 1 comments

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)

remihuigen avatar Nov 21 '24 08:11 remihuigen

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

atinux avatar Feb 04 '25 13:02 atinux