chore: bump wrangler from 3.92.0 to 3.99.0 (#225) #204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@6d58852c35a27e6034745c5d0bc373d739014f7f | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
command: deploy --env staging | |
- name: Deploy to Production | |
if: github.event_name == 'workflow_dispatch' | |
uses: cloudflare/wrangler-action@6d58852c35a27e6034745c5d0bc373d739014f7f | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
command: deploy --env prod | |