ci: redeploy website on changelog updates#424
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
There was a problem hiding this comment.
Risk assessment: Medium.
This PR adds a new GitHub Actions workflow that runs on main pushes touching changelog.mdx and calls a Vercel deploy hook using the WEBSITE_VERCEL_DEPLOY_HOOK repository secret. The changed surface is small and scoped to the docs site, but it changes deployment automation and secret-backed CI behavior, so it has operational/infrastructure impact rather than being documentation-only or test-only.
Because the risk is Medium, I’m not approving this PR.
Sent by Cursor Automation: Assign PR reviewers
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a895bea. Configure here.
| run: | | ||
| if [ -z "$DEPLOY_HOOK_URL" ]; then | ||
| echo "WEBSITE_VERCEL_DEPLOY_HOOK secret is not set; skipping." | ||
| exit 1 |
There was a problem hiding this comment.
Skip message contradicts failure exit
Low Severity
The deploy hook step logs "skipping" when WEBSITE_VERCEL_DEPLOY_HOOK is unset, but then exits with status 1, failing the workflow. This message implies a benign no-op, obscuring the intended fail-fast behavior and making CI failures harder to interpret.
Reviewed by Cursor Bugbot for commit a895bea. Configure here.




Summary
The website's
/changelogpage prerenders content fetched at runtime from this repo'schangelog.mdx, but merging a changelog entry here never triggers a website deploy — the page only updates via ISR, which has been silently not regenerating. As a result new changelog entries don't appear until the website is independently redeployed.This adds a GitHub Actions workflow that fires a Vercel deploy hook for the website whenever
changelog.mdxchanges onmain, so changelog edits show up without a manual redeploy.Manual step required before this works
WEBSITE_VERCEL_DEPLOY_HOOK.Until the secret exists, the job will fail fast with a clear message rather than silently no-op.
Notes
changelog.mdxonly, since that's the file the website fetches at runtime — avoids redeploying the site on unrelated docs edits.Note
Low Risk
CI-only change with no application code; deploy only runs when the secret is configured and changelog file changes.
Overview
Adds a GitHub Actions workflow that runs on pushes to
mainwhenchangelog.mdxchanges and POSTs to a Vercel deploy hook so the marketing site picks up changelog content without a manual deploy.The job reads
WEBSITE_VERCEL_DEPLOY_HOOK; if the secret is missing it exits with an error instead of no-oping. Path filtering limits runs to changelog edits only.Reviewed by Cursor Bugbot for commit a895bea. Bugbot is set up for automated code reviews on this repo. Configure here.