Registering Deployments with Grunt
Generate an External Auth Token to use from your Raygun User Settings page
First, install the npm package:
npm install grunt-raygun-deployment --save-dev
Then, add the following to
// Configuration to be run (and then tested).
// You need to fill this in with your own data
raygunApiKey: 'YOUR APPLICATIONS API KEY',
raygunAuthToken: 'YOUR EXTERNAL AUTH TOKEN'
You'll need the Raygun API Key for your application, plus an External Auth Token which you can generate here.
If you don't want to check your ApiKey or AuthToken into source control, you can pass them to grunt as environment variables instead like this:
RAYGUN_APIKEY="YOUR APPLICATIONS API KEY" RAYGUN_AUTHTOKEN="YOUR EXTERNAL AUTH TOKEN" grunt raygun_deployment
Finally, create a release file. We default to checking
Release.yml, but you can set this path with the
This is an example release file:
ownerName: Jamie Penney
# Testing out the rake plugin
* More markdown formatting
Once you've written this to
grunt raygun_deployment and your deployment will be sent to Raygun!