Skip to content

Cloudflare CI/CD

Cloudflare CI/CD #5

name: Deploy CF workers
on:
pull_request:
paths:
- 'cf/**'
- '.github/workflows/deploy-cloudflare.yml'
push:
paths:
- 'cf/**'
- '.github/workflows/deploy-cloudflare.yml'
jobs:
check-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: "cf/latest-snapshot"
command: deploy --dry-run