ci: deploy magicbean.dev when main changes #6

Merged
HumanBean merged 1 commit from ci-deploy into main 2026-11-13 06:03:55 +00:00
Owner

magicbean.dev is still deployed by hand (npm run deploy). This deploys it when main changes, so a merged PR goes live by itself.

  • .forgejo/workflows/deploy.yml: on a push to main (and by hand from the Actions tab), npm ci, then wrangler deploy with the repository's Cloudflare secrets. Only people who may push to main start it.
  • README: the deploy on merge, beside the manual steps.

The token needs Workers Routes: Edit on the magicbean.dev zone for the custom domain, besides Workers Scripts: Edit. The first run after merging shows whether it has it; the error names the missing permission if not.

Testing: not run before merging. A push to main is the only trigger besides Run workflow, which only exists once the file is on main.

🤖 Generated with Claude Code

magicbean.dev is still deployed by hand (`npm run deploy`). This deploys it when `main` changes, so a merged PR goes live by itself. - `.forgejo/workflows/deploy.yml`: on a push to `main` (and by hand from the Actions tab), `npm ci`, then `wrangler deploy` with the repository's Cloudflare secrets. Only people who may push to `main` start it. - README: the deploy on merge, beside the manual steps. The token needs Workers Routes: Edit on the magicbean.dev zone for the custom domain, besides Workers Scripts: Edit. The first run after merging shows whether it has it; the error names the missing permission if not. Testing: not run before merging. A push to `main` is the only trigger besides Run workflow, which only exists once the file is on `main`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ci: deploy magicbean.dev when main changes
All checks were successful
Preview / Preview on Cloudflare (pull_request) Successful in 29s
88a35a53f1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
<!-- preview-deploy --> **Preview:** https://pr-6-magicbean-site.hckr-5e0.workers.dev This commit (88a35a53f193) on its own: https://7b91c2ec-magicbean-site.hckr-5e0.workers.dev
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Site!6
No description provided.