20 lines
584 B
Markdown
20 lines
584 B
Markdown
# Cloudflare Deploy (Forgejo Actions)
|
|
|
|
This repo deploys `https://every.channel` via Wrangler.
|
|
|
|
## 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`
|
|
|
|
## Manual deploy (local)
|
|
|
|
```sh
|
|
./scripts/deploy-workers.sh
|
|
```
|