Skip to content

Update cloudflare/wrangler-action action to v3 #56

Update cloudflare/wrangler-action action to v3

Update cloudflare/wrangler-action action to v3 #56

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
workflow_dispatch:
pull_request:
repository_dispatch:
push:
branches:
- main
paths-ignore:
- '*.md'
- '.github/workflows/*'
jobs:
deploy:
runs-on: ubuntu-latest
name: Build and Deploy
steps:
- name: Check out Git repo
uses: actions/checkout@v3
- name: Build and Publish with Wrangler
uses: cloudflare/wrangler-action@v3.6.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
env:
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}