Skip to content

chore: bump cloudflare/wrangler-action from 3.13.0 to 3.13.1 (#261) #223

chore: bump cloudflare/wrangler-action from 3.13.0 to 3.13.1 (#261)

chore: bump cloudflare/wrangler-action from 3.13.0 to 3.13.1 (#261) #223

Workflow file for this run

name: Deploy Worker
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
name: Deploy Cloudflare Worker
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Deploy to Staging
if: github.event_name == 'push'
uses: cloudflare/wrangler-action@7a5f8bbdfeedcde38e6777a50fe685f89259d4ca
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: deploy --env staging
- name: Deploy to Production
if: github.event_name == 'workflow_dispatch'
uses: cloudflare/wrangler-action@7a5f8bbdfeedcde38e6777a50fe685f89259d4ca
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: deploy --env prod