Hello,
I am a bit confused when it comes to deploying an application that uses trigger.dev. I am building a remix app that I am deploying to heroku. This might be a stupid question but in development, in order to use trigger.dev I need to run npx @trigger.dev/cli@latest dev. So I am assuming that this command needs to be run on a prod server as well. in my Procfile for heroku I have the following
release: npx prisma migrate deploy
web: npm run start
worker: npx @trigger.dev/cli@latest dev
but I keep getting this error
Your TRIGGER_API_KEY isn't a secret dev API key, you've entered a prod server key
Am I not supposed to run the npx command on heroku?
Any help would be really appreciated here
Thank you