jsmrcaga / action-netlify-deploy

MIT License
104 stars 32 forks source link

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

Open mdirshaddev opened 3 years ago

mdirshaddev commented 3 years ago

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

deepjyoti30 commented 3 years ago

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

jsmrcaga commented 3 years ago

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

cmdecker95 commented 1 year ago

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

jsmrcaga commented 1 year ago

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

cmdecker95 commented 1 year ago

@jsmrcaga thanks! And totally understandable, same here.

jonybekov commented 1 month ago

Now, it's possible to import env variables from file netlify env:import fileName https://cli.netlify.com/commands/env/

jsmrcaga commented 4 weeks ago

Hey @jonybekov ! Thanks for the doc!

Would you be able to implement this in a pull request?

jonybekov commented 4 weeks ago

Hey @jonybekov ! Thanks for the doc!

Would you be able to implement this in a pull request?

Alright. Let me take a look