milly-countdown/.github/workflows/deploy.yml
King Omar 8fc2cfce97
Some checks are pending
Deploy to Cloudflare / deploy (push) Waiting to run
Fix KV to store only revenues, add GitHub Actions auto-deploy
- KV 'revenues' key now stores only {id: number} — names/labels/config
  always come from code so code changes always take effect immediately
- Remove stale 'competitors' KV dependency
- Add .github/workflows/deploy.yml to auto-deploy to Cloudflare on push

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 00:32:17 +10:00

19 lines
442 B
YAML

name: Deploy to Cloudflare
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm install -g wrangler
- run: wrangler deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: c29d5b5c11b67dc349843b8731e93b8f