Skip to content

Commit 1ed09cf

Browse files
committed
👷 Update deployment workflow to trigger on release events
1 parent ec3428c commit 1ed09cf

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/deploy.yml

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

0 commit comments

Comments
 (0)