Integration: Circle CI

Integrate Ghost Inspector with Circle CI

Search our documentation:

Toggle Documentation Menu

Integration: Circle CI

We've put together a detailed blog post on integrating Ghost Inspector into Circle CI which we strongly recommend. This setup allows you to run your tests during your build process.

However, if you would like to trigger Ghost Inspector tests after your Circle CI build completes, you can do this via their webhooks feature. Add the snippet below to the circle.yml file in your repo.

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

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