Skip to content

DavidWells/netlify-sentry-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Sentry plugin    

Automatically generate a Sentry release for your site after it finishes building in Netlify.

Make sure build plugins are enabled on your site to see the plugin run.

Installation

To install, add the following lines to your netlify.toml file:

[[plugins]]
  package = "netlify-plugin-sentry"

Note: The [[plugins]] line is required for each plugin, even if you have other plugins in your netlify.toml file already.

Configuration

Configure the plugin with your sentry settings.

[[plugins]]
  package = "netlify-plugin-sentry"

  [plugins.inputs]
    sentryOrg = ""
    sentryProject = ""
    sentryAuthKey = ""

You can also use site environment variables to configure these values.

  • process.env.SENTRY_ORG - Your Sentry organization name
  • process.env.SENTRY_PROJECT - Your Sentry project name
  • process.env.SENTRY_AUTH_TOKEN - Auth token for Sentry

About

WIP - Plugin to automatically run sentry releases

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published