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

Custom env in action #13

Closed
jonyw4 opened this issue Jun 9, 2020 · 2 comments
Closed

Custom env in action #13

jonyw4 opened this issue Jun 9, 2020 · 2 comments
Labels
Type: Question Further information is requested

Comments

@jonyw4
Copy link

jonyw4 commented Jun 9, 2020

Its possible to send a custom env for Vercel use in build time? I think that it's a huge feature for people that need to deploy an app in Vercel using a env that its created in Github action.

@klaasman
Copy link

klaasman commented Jun 9, 2020

Vercel CLI supports setting build envs using the --build-env flag, so I think you should be able to set these variables with the vercel-args input:

vercel-args: '--build-env CUSTOM_VAR=value'

@jonyw4
Copy link
Author

jonyw4 commented Jun 9, 2020

Ok, nice! Thanks!

@jonyw4 jonyw4 closed this as completed Jun 9, 2020
@amondnet amondnet added Type: Question Further information is requested Status: Proposal Request for comments and removed Status: Proposal Request for comments labels Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants