We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec3428c + 1ed09cf commit 6f3717cCopy full SHA for 6f3717c
1 file changed
.github/workflows/deploy.yml
@@ -1,16 +1,16 @@
1
name: Deploy Worker
2
on:
3
- push:
4
- branches:
5
- - main
+ release:
+ types:
+ - published
6
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 }}
+ deploy:
+ runs-on: ubuntu-latest
+ timeout-minutes: 60
+ steps:
+ - uses: actions/checkout@v6
+ - name: Build & Deploy Worker
+ uses: cloudflare/wrangler-action@v3.15.0
+ with:
+ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
0 commit comments