Integration: Heroku

Integrate Ghost Inspector with Heroku

Search our documentation:

Toggle Documentation Menu

Integration: Heroku

If you would like to trigger Ghost Inspector tests after a deployment to Heroku, you can do this via the Deploy Hooks add-on. Simply add a hook pointing to our API.

In the example below, you will need to swap in your own values for [suite-id] and [api-key].

heroku addons:add deployhooks:http --url=https://api.ghostinspector.com/v1/suites/[suite-id]/execute/?apiKey=[api-key]
Note: This code assumes that you want to execute a suite after your project has been built. For other options, please see our API.