SpinupWP

If you're using SpinupWP to host your site and its push-to-deploy feature, here's how you configure automated audits.

First, grab your site's deployment webhook in DeploymentHawk. You'll want to copy the cURL example, which includes the additional branch and commit parameters.

curl https://app.deploymenthawk.com/analyze/site/ID?token=TOKEN \
  -X POST \
  -H 'Accept: application/json' \
  -d 'branch'='main' \
  -d 'commit'='fda7c44c7ae0ee6ea28a6a7a91946deaef37adca'

Update the cURL command to populate the branch and commit dynamically.

curl https://app.deploymenthawk.com/analyze/site/ID?token=TOKEN \
  -X POST \
  -H 'Accept: application/json' \
  -d 'branch'="$(git rev-parse --abbrev-ref HEAD)" \
  -d 'commit'="$(git rev-parse HEAD)"

Head to the site in SpinupWP and visit the Git tab. At the end of your Deploy Script, paste the cURL command, and hit Save. Now, whenever you deploy your site via SpinupWP, an automated audit will be triggered.

Screenshot of SpinupWP