action-netlify-deploy icon indicating copy to clipboard operation
action-netlify-deploy copied to clipboard

It will be nice to have set and access to Netlify env variables

Open mdirshaddev opened this issue 3 years ago • 5 comments

Basically what i am suggesting a feature where a user will be able to pass variable which will link up with netlify environment variables.

mdirshaddev avatar Jun 10 '21 06:06 mdirshaddev

+1 for this. Would be a pretty nice addition!

deepjyoti30 avatar Aug 06 '21 14:08 deepjyoti30

Hi! Thanks for opening this issue. Netlify CLI does not currently provide a simple way to set multiple env variables, however we could loop on a list and set them one by one.

Would you be willing to open a Pull request? It should check if we have an environment input, and based on that loop on every key to set it with the CLI.

Reference for the CLI is here https://cli.netlify.com/commands/env

jsmrcaga avatar Aug 11 '21 12:08 jsmrcaga

Hey! I'm interested in contributing. Did this feature already get implemented? I didn't see an assignee or PR tied to this issue.

cmdecker95 avatar Aug 23 '23 18:08 cmdecker95

Hello @cmdecker95! I don't think it has no, feel free to open a PR, contributions are always welcome! Sorry for the late reply, days are hectic at work right now

jsmrcaga avatar Aug 25 '23 09:08 jsmrcaga

@jsmrcaga thanks! And totally understandable, same here.

cmdecker95 avatar Aug 25 '23 17:08 cmdecker95