every.channel/docs/DEPLOY_CLOUDFLARE.md

774 B

Cloudflare Deploy (Forgejo Actions)

This repo deploys https://every.channel via Wrangler. The deploy workflow is intended to run on the primary Forgejo host (not Codeberg/GitHub mirrors).

Prereqs

  • Forgejo Actions enabled on the repo.
  • Forgejo Actions secret AGE_FORGE_SSH_KEY set to the SSH private key used to decrypt repo-encrypted age secrets.
  • secrets/cloudflare-api-token.age present in-repo and decryptable by AGE_FORGE_SSH_KEY.

CI and deploy workflows:

  • PR/main checks: .forgejo/workflows/ci-gates.yml
  • Deploy (main only, depends on checks): .forgejo/workflows/deploy-cloudflare.yml

Mirror behavior:

  • Workflow jobs are guarded to skip execution on https://codeberg.org.

Manual deploy (local)

./scripts/deploy-workers.sh