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

Additional details on invisible environment variables. #1665

Merged
merged 3 commits into from
Aug 9, 2022

Conversation

nathanhammond
Copy link
Contributor

@nathanhammond nathanhammond commented Aug 9, 2022

Port docs from the blog post with some light copy edits.

@vercel
Copy link

vercel bot commented Aug 9, 2022

@nathanhammond is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Aug 9, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
turbo-site ✅ Ready (Inspect) Visit Preview Aug 9, 2022 at 7:23PM (UTC)


`turbo`, having calculated a task hash prior to invoking the `build` script, will be unable to discover the `NEXT_PUBLIC_GA_ID=UA-00000000-0` environment variable and thus unable to partition the cache based upon that, or any environment variable configured by `dotenv`.

Be careful to ensure that all of your environment variables are configured prior to invoking `turbo`!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot for an eslint-plugin-turbo plug

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, that didn't exist when the text was written! Adding!

@tknickman tknickman added the pr: fixship A PR which is approved with notes and does not require re-review. label Aug 9, 2022
@jaredpalmer jaredpalmer merged commit b1ede0d into vercel:main Aug 9, 2022
@nathanhammond nathanhammond deleted the more-env-docs branch August 10, 2022 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fixship A PR which is approved with notes and does not require re-review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants