Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Redeploy Website

on:
push:
branches: [main]
paths:
- changelog.mdx

jobs:
deploy-hook:
runs-on: ubuntu-latest
steps:
- name: Trigger Vercel deploy hook
env:
DEPLOY_HOOK_URL: ${{ secrets.WEBSITE_VERCEL_DEPLOY_HOOK }}
run: |
if [ -z "$DEPLOY_HOOK_URL" ]; then
echo "WEBSITE_VERCEL_DEPLOY_HOOK secret is not set; skipping."
exit 1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit a895bea. Configure here.

fi
curl -fsS -X POST "$DEPLOY_HOOK_URL"
Loading