Skip to content

site: revert to Vercel auto-deploy; tighten routine gate to full CI parity - #165

Merged
blokzdev merged 1 commit into
mainfrom
claude/revert-autodeploy
Jun 24, 2026
Merged

site: revert to Vercel auto-deploy; tighten routine gate to full CI parity#165
blokzdev merged 1 commit into
mainfrom
claude/revert-autodeploy

Conversation

@blokzdev

Copy link
Copy Markdown
Owner

Why

Generation is now throttled to 3×/day (22 0,8,16 * * *), so deploy volume is ~3/day — far under the Vercel free-tier cap. The batched-deploy machinery (added when the routine ran hourly) now solves a problem we no longer have.

Changes

Revert to Vercel auto-deploy (previews on):

  • Delete vercel.json (it only held git.deploymentEnabled: false) → restores Vercel defaults: production auto-deploys on merge to main, previews build per PR.
  • Delete .github/workflows/scheduled-deploy.yml.
  • The Vercel deploy hook + VERCEL_DEPLOY_HOOK_URL secret go dormant (can be removed later).

Tighten the content gate to full CI parity (so PRs auto-merge hands-off):

  • CI runs validate → astro check → build, but the docs told routines to run only validate + build. A type error passes validate but fails CI's astro check — which is exactly what stalled auto-merge (e.g. the earlier content: add article the-gradient-thief + artifact the-inversion-window #118 fix).
  • CLAUDE.md + docs/ROUTINES.md: the gate is now npm run check && npm run build, and a new "Delivery & auto-merge" note makes the flow fire-and-forget — enable squash auto-merge on a gate-green PR, then end the session; production auto-deploys on merge.

Verification

  • npm run check passes locally (0 errors). Changes are config deletions + markdown only, so the build is unaffected.
  • After merge: the Scheduled deploy workflow disappears from Actions; pushes to main trigger a production Vercel deploy again, and PRs get preview deployments.

🤖 Generated with Claude Code


Generated by Claude Code

…arity

Generation is now throttled to 3x/day, so the batched-deploy machinery is no
longer needed. Restore Vercel's default behavior (production auto-deploys on
merge to main, previews per PR) by removing vercel.json and the scheduled
deploy workflow.

Also tighten the documented content gate from `npm run validate` to
`npm run check && npm run build` (= validate + astro check + build), the exact
CI job. A type error passes `validate` but fails CI's `astro check`, which is
what stalled auto-merge before. With the local gate mirroring CI, a green PR
squash-auto-merges unattended — no CI babysitting.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01THWkDxQzDdyiEbzyRP5NF3
@blokzdev
blokzdev enabled auto-merge (squash) June 24, 2026 03:32
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blokz Building Building Preview, Comment Jun 24, 2026 3:32am

@blokzdev
blokzdev merged commit 478c5cb into main Jun 24, 2026
2 of 3 checks passed
@blokzdev
blokzdev deleted the claude/revert-autodeploy branch June 24, 2026 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants