Some checks are pending
Deploy to Cloudflare / deploy (push) Waiting to run
- 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>
19 lines
442 B
YAML
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
|