Scan after deploy
Netlify
A deploy notification that starts a scan.
Integration guide
Add a Vercel webhook for successful deployments that points at Rookflare, and each deployment starts a scan of your website. No code to write.
Overview
Setup
Step 1
Open the website, go to the Settings tab and select “Create deploy hook” in the “Scan after deploy” card. Copy the token right away: this is the only time Rookflare shows it in full. The card keeps the endpoint and the last four characters of the token.
Step 2
Vercel calls a URL and cannot add an Authorization header, so the token goes into the URL as a query parameter. Treat the whole URL as a secret.
Sample endpoint and placeholder token. The dashboard fills in yours.
Step 3
In Vercel, choose your team scope and open Settings → Webhooks. Select the “Deployment Succeeded” event, set the project scope to the project that serves your website, paste the URL as the endpoint and select “Create Webhook”. Vercel then shows a signing secret once; Rookflare does not need it, because the token in the URL already identifies the website.
Step 4
Open the project’s Deployments page in Vercel and redeploy the latest production deployment. When it is ready, “Last used” on the Rookflare card changes and the website’s Scan history shows a scan with the trigger “After deploy”.
Troubleshooting
Account webhooks come with Vercel’s Pro and Enterprise plans. On another plan, call Rookflare from your CI after “vercel deploy” instead, with the GitHub Actions step or the cURL request.
“Deployment Succeeded” fires for preview deployments too, and Rookflare does not look at the deployment target. Choose “Deployment Promoted” instead: it fires when a deployment is promoted to production, automatically after a production build or by hand.
Deployments from the Vercel CLI or a deploy hook carry no GitHub commit SHA, so Rookflare has no ref to match. Each call then starts a scan unless one is already running.
The old token is baked into the webhook URL. Delete the webhook in Vercel and create it again with the new URL from the Rookflare card.
401 means a wrong, rotated or revoked token, 402 a plan or daily limit, 409 an unverified or paused website and 429 more than 30 calls a minute. The cURL guide explains each answer and what to do.
Yes. Subscribe the webhook to “Deployment Promoted” instead of “Deployment Succeeded”. Promoted fires only when a deployment starts serving production traffic, and it does not include rollbacks.
It is sent over HTTPS and only lets someone start scans of one website. Keep the URL out of public places, and rotate the token on the website’s Settings tab if it leaks; the old one stops working right away.
Use one webhook per monitored website. Scope each webhook to the project behind that website and give it the URL with that website’s token, so a deploy of one project never scans another site. Vercel allows up to 20 custom webhooks per team.
Add your address, pick the pages and approve the first scan as your baseline.
Plans start at €19 per month. Prices are provisional.