Hello Pauline,
Thank you for your reply. So far I have:
- made sure that
GITHUB_ID is set for all environments (Production/Preview/Development)
- made sure that
GITHUB_ID is NOT linked exclusively to a certain project
- made sure that
GITHUB_ID doesn’t start with a $
As mentioned, I have also removed GITHUB_ID and run a deployment. This didn’t affect the result and the old value (Iv23liEfay44RS08p7np) was still the value in process.env.GITHUB_ID. I have re-add the environment variable with the new value Iv23li1DVKYIbTMRDh6j, but still the old value shows.
I’m using Next.js in a standard (not-mono) repo.
I have applied the temporary workaround, adding a new environment variable named GITHUB_CLIENT_ID with the new value (Iv23li1DVKYIbTMRDh6j) but this environment variable simply seems missing.
All used and expected values are rendered for debugging purposes. You can see my app over here: https://bonzai-proxy-chat.vercel.app
The source code (tiny as it is) is now also public: https://github.com/kweij/bonzai-proxy-chat
It seems that and old (first?) state of the environment variables lingers in the build process and is not updated after adding or changing them in the Vercel Dashboard.
Feel free to look around, it’s just a learning repo! Any help is appreciated
Either I’m missing something very basic or something is actually broken.