- Cozycal
- Develop
- Deploys
Deploys
What CI checks, and when it deploys.
.github/workflows/cozycal.yml runs bun check, builds, and validates the build with a dry-run
deploy on every pull request that touches Cozycal or a shared package.
On a push to main, when the repository variable COZYCAL_DEPLOY is true, it then applies
pending D1 migrations and deploys that same build. It reads two repository secrets:
CLOUDFLARE_ACCOUNT_ID, and CLOUDFLARE_API_TOKEN, an account API token with Workers Scripts Edit,
D1 Edit and Workers R2 Storage Edit.