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

VERCEL_GITHUB_COMMIT_SHA system environment variable no longer exists #2

Open
mike-tang opened this issue Sep 5, 2021 · 0 comments

Comments

@mike-tang
Copy link

Hey there, the VERCEL_GITHUB_COMMIT_SHA environment variable used in the logger.js example didn't work for me.

revision: process.env.VERCEL_GITHUB_COMMIT_SHA,

Seems like the Vercel system environment variable for git SHAs is now VERCEL_GIT_COMMIT_SHA: https://vercel.com/docs/environment-variables#system-environment-variables

Changing the env var to VERCEL_GIT_COMMIT_SHA worked for me. Hope that helps anyone else that ran into this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant