Next.js Discord

Discord Forum

Vercel CLI: env add not sticking around?

Unanswered
Spectacled Caiman posted this in #help-forum
Open in Discord
Spectacled CaimanOP
In a Github Action, I'm running the following:
  vercel env add SENTRY_RELEASE=ecd5bdd --environment=production --token=***
  vercel env add NEXT_PUBLIC_SENTRY_RELEASE=ecd5bdd --environment=production --token=***

.. which reports back in the logs..
  Vercel CLI 34.1.2
  Retrieving project…
  ? What’s the value of SENTRY_RELEASE=ecd5bdd?

  Vercel CLI 34.1.2
  Retrieving project…
  ? What’s the value of NEXT_PUBLIC_SENTRY_RELEASE=ecd5bdd?


Yet, I can't find these ENV vars set in the Project Settings -> Environmental Variables after the CI job runs.

I've verified the token/project/etc all pointing to the expected project.

What am I missing?

0 Replies