Replies: 1 comment 5 replies
-
The action uses the Vercel CLI under the hood and only passes the provided variables to it, see #144. Variables defined with Hope this clears things up! Let me know if you have any more questions. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Perhaps this is a noob question, but when passing environment variables to the build as described here it's unclear whether these env vars also need to be defined in Vercel.
Because this is a GitHub action, I'd assumed this meant
SOME_TOKEN="${{ secrets.SOME_TOKEN }}"
would include a GitHub secret in the payload to Vercel. Meaning env variables and secrets could be defined in GitHub actions rather than Vercel.I'm finding that this isn't the case though. It seems that env vars need to be created in Vercel, and that this part of the action is more like a pointer to tell Vercel which env vars you want a specific environment to use.
Some more clarity about this would be really helpful. Thanks
Beta Was this translation helpful? Give feedback.
All reactions