name: Deploy to Cloudflare Workers on: push: branches: - main paths-ignore: - '**.md' - 'LICENSE' - '.gitignore' - '.editorconfig' - '.vscode/**' - 'docs/**' - '.prettierrc*' - '.eslintrc*' - '.github/ISSUE_TEMPLATE/**' - '.github/PULL_REQUEST_TEMPLATE/**' workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false jobs: deploy: runs-on: ubuntu-latest timeout-minutes: 15 permissions: contents: read deployments: write steps: - name: Checkout main branch uses: actions/checkout@v5 - name: Deploy to Cloudflare Workers uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}