Use deploy hooks to notify Rocket Validator that you've deployed a new version of your site and make it start automatically the specified validation.
To create a deploy hook, create a schedule as explained in the Scheduling reports section. Then, set up your hosting platform to fire this schedule after deploys.
curl is a command-line tool, present in most systems, that you can use to make a quick check from your terminal.
$ curl -X POST https://rocketvalidator.com/schedule/$SCHEDULE_ID/fire
Netlify is a hosting platform for static websites, and offers the simplest integration possible.
You just need to Add Notification, choose the Outgoing webhook type and paste your deploy hook URL like this:
Github Pages let you define webhooks for different events.
You just need to enter your automatic validator URL in the Payload URL field, and choose the individual event for page build:
Github Pages lets you define several deploy hooks for different services.
If your site is on Heroku, you can use the free HTTP post hook add-on, like this:
$ heroku addons:create deployhooks:http \ --url https://rocketvalidator.com/schedule/$SCHEDULE_ID/fire
Heroku only allows one HTTP deploy hook per app, so if you need to trigger several hooks, you can set it up using deploy hook forker.
Engine Yard lets you define deploy hooks using simple ruby scripts. To trigger a site validation, you can create a deploy/after_restart.rb file on the root folder of your app, that sends the post-deploy hook using curl like this:
Example: Engine Yard
run "curl -X POST -d '' https://rocketvalidator.com/schedule/$SCHEDULE_ID/fire"
Example: Cloud 66
staging: last_thing: - command: curl -X POST -d '' https://rocketvalidator.com/schedule/$SCHEDULE_ID/fire target: rails run_on: single_server
Cloud 66 lets you have several deploy hooks defined. The syntax for doing that is:
Example: Cloud 66
last_thing: - xxxxxx yyyyyy zzzzzz - xxxxxx yyyyyy zzzzzz
If your hosting platform is not listed here, feel free to contact us and we'll help you with the integration.