Skip to content

Commit b7303d3

Browse files
committed
add deploy workflow
1 parent acdde04 commit b7303d3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: .github/workflows/deploy.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
timeout-minutes: 60
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Build & Deploy
14+
uses: cloudflare/wrangler-action@v3
15+
with:
16+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
17+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
18+
packageManager: npm
19+
command: deploy
20+
wranglerVersion: 3.105.1

0 commit comments

Comments
 (0)