Next.js Discord

Discord Forum

vercel env pull just pulls default env vars

Unanswered
American Bobtail posted this in #help-forum
Open in Discord
American BobtailOP
hi i have tried pulling my env vars from vercel through github actions and it returns me the default env vars instead of the ones i created.

It works locally when i use the command locally but not in github actions
vercel env pull --yes --environment=preview --token=${{secrets.VERCEL_TOKEN}} --scope=myproj ./.env.local

I have tried --git-branch as well and it doesn't work either.

1 Reply

American BobtailOP
realised in need
VERCEL_ORG_ID
VERCEL_PROJECT_ID in the github env first