Skip to content

Cloudflare App Deploy

Reusable deployment workflow for apps published with Wrangler.

File: .github/workflows/cloudflare-app-deploy.yml

Use it when deploy should run through a protected GitHub environment.

yaml
jobs:
  deploy:
    uses: middag-io/.github-private/.github/workflows/cloudflare-app-deploy.yml@workflows-v1
    with:
      deploy-command: npx wrangler deploy --env production
      environment: production
    secrets: inherit

MIDDAG Tecnologia