#Nextjs : link a deploy to a release

2 messages · Page 1 of 1 (latest)

obtuse surge
#

Hello! How can we link a deploy on an environment to a release with nextjs npm package?
I can see releases, I can see environments, but I cannot see deploys.
If I'm using sentry-cli to do it, it works, but I would like nextjs npm package to do that automatically.
Is that possible?

real marsh
#

you can add the following to your next.config.js file:

release:{
    deploy:{
        env:{environment}
    }
},

all possible options for deploys are listed here: https://www.npmjs.com/package/@sentry/webpack-plugin#releasedeploy