Skip to content

Commit 59660e7

Browse files
authored
Add GitHub Actions workflow for Cloudflare deployment
1 parent 19a6f87 commit 59660e7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Deploy Worker
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
timeout-minutes: 60
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Build & Deploy Worker
13+
uses: cloudflare/wrangler-action@v3
14+
with:
15+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
16+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 commit comments

Comments
 (0)