#Invalid environment slug for this API key when deploying
1 messages · Page 1 of 1 (latest)
Are you deploying from GitHub actions? You should generate an access token by going to the Personal Access Tokens page. https://trigger.dev/docs/github-actions#creating-a-personal-access-token
oh is it because i signed up for cloud using github
No. How are you running the deploy command?
just npx trigger.dev@latest deploy
https://trigger.dev/docs/guides/frameworks/supabase-edge-functions-database-webhooks i was following this guide on integrating trigger with supabase
What’s in the file that error complains about?
"Invalid environment slug for this API key. Make sure you are using an API key associated with that environment." in src/lib/server/trigger/generate.ts`