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

Add MAINTENANCE_MODE_ environment variables to turbo.json #490

Open
taesungh opened this issue Dec 12, 2024 · 0 comments
Open

Add MAINTENANCE_MODE_ environment variables to turbo.json #490

taesungh opened this issue Dec 12, 2024 · 0 comments

Comments

@taesungh
Copy link
Member

Noticed warning during recent build about environment variables not being considered for hashing:

Warning - the following environment variables are set on your Vercel project, but missing from "turbo.json". These variables WILL NOT be available to your application and may cause your build to fail. Learn more at https://turbo.build/repo/docs/platform-environment-variables

[warn] site#build
[warn]   - MAINTENANCE_MODE_HOME 
...
[warn]   - MAINTENANCE_MODE_SCHEDULE 
...
[warn]   - MAINTENANCE_MODE_RESOURCES 

This means even though the value is updated, a deployment that has the same build hash as before will not cause the change to appear in the build.

@taesungh taesungh changed the title Add MAINTENANCE_MODE environment variables to turbo.json Add MAINTENANCE_MODE_ environment variables to turbo.json Dec 12, 2024
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