ci: deploy magicbean.dev when main changes #6
No reviewers
Labels
No labels
ci: approved
ci: preview
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
preview
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Site!6
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-deploy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
magicbean.dev is still deployed by hand (
npm run deploy). This deploys it whenmainchanges, so a merged PR goes live by itself..forgejo/workflows/deploy.yml: on a push tomain(and by hand from the Actions tab),npm ci, thenwrangler deploywith the repository's Cloudflare secrets. Only people who may push tomainstart it.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
mainis the only trigger besides Run workflow, which only exists once the file is onmain.🤖 Generated with Claude Code
Preview: https://pr-6-magicbean-site.hckr-5e0.workers.dev
This commit (
88a35a53f1) on its own: https://7b91c2ec-magicbean-site.hckr-5e0.workers.dev