chore: replace Cloudflare GitHub-app deploy now that the repo lives on Forgejo #1
Labels
No labels
architecture
blocked
breaking-change
bug
ci/cd
database
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
observability
phase:0-rebrand
phase:1-foundation
phase:2-pos
phase:3-onboarding
phase:4-operations
phase:5-engagement
phase:6-marketplace
platform
priority:critical
priority:high
priority:low
priority:medium
question
reliability
security
soc2
type:api
type:cleanup
type:docs
type:infra
type:microservice
type:schema
type:ui
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
smartsquid/smartsquidinc.com#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Today the site is deployed via Cloudflare's GitHub App git integration (Cloudflare watches
smartsquidtech/smartsquidon GitHub and rebuilds on push). Now that the repo has moved to Forgejo (forgejo.smartsquid.dev/smartsquid/smartsquidinc.com), this stops working on the next change — and Cloudflare doesn't natively support Forgejo as a git provider, so a like-for-like swap isn't possible.We need to pick a replacement and cut over.
Options
Forgejo Actions +
wrangler deploy(recommended).forgejo/workflows/pattern already in use innautilusnpm run check && npm run typecheck && npm run build, thencloudflare/wrangler-actionpublishes the Worker using the existingwrangler.jsoncCLOUDFLARE_API_TOKEN+CLOUDFLARE_ACCOUNT_IDas repo secretsMirror Forgejo → GitHub, keep the Cloudflare App pointed at the mirror
smartsquidtech/smartsquidclone; Cloudflare app keeps watching that mirrorWebhook → Forgejo Action → Direct Upload API
wrangler-actiondoesn't work for our setupTasks (assuming option 1)
smartsquidWorker.forgejo/workflows/deploy.ymlon push tomain:actions/checkoutnpm cinpm run check && npm run typechecknpm run build(producesout/)cloudflare/wrangler-actionconsuming the existingwrangler.jsoncCLOUDFLARE_API_TOKEN+CLOUDFLARE_ACCOUNT_IDrepo secrets (Settings → Actions → Secrets)Workers Scripts:Edit,Account:Read, plusZone:Readon thesmartsquidinc.comzone (needed for the custom-domain routes)CLAUDE.md— it still claims the site deploys to a GCS bucket fronted by Cloudflare; that's staleNotes
.forgejo/workflows/innautiluswrangler.jsoncalready declares apex +wwwascustom_domain: true, so DNS and TLS keep flowing automatically — the workflow only needs to publish