Next.js Discord

Discord Forum

Can I override Vercel system environment variables in GitHub Actions?

Unanswered
Skipjack tuna posted this in #help-forum
Open in Discord
Skipjack tunaOP
Vercel’s documentation mentions that only one custom environment variable can be overridden in the Pro plan. However, I need to override system environment variables specifically within my GitHub Actions workflow.

In my deployment setup, Vercel detects the branch and triggers an automatic release.

I know that using custom environment variables allows multiple values to be changed. However, I noticed that the API modifies original_environment and environment values.

Would it be possible to override these values to receive my desired environment configuration? If so, how can I achieve this?

https://docs.github.com/en/rest/deployments/deployments?apiVersion=2022-11-28#list-deployments

0 Replies