Skip to content

Commit d507f81

Browse files
Reset build flow.
1 parent 8c622b3 commit d507f81

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
name: Build and Deploy Worker on Release
1+
name: Build and Deploy Worker
22

3-
on:
4-
release:
5-
types: [published]
3+
on:
4+
push:
5+
branches:
6+
- dev
67

78
jobs:
89
build:
@@ -11,8 +12,6 @@ jobs:
1112
steps:
1213
- name: Check out the code
1314
uses: actions/checkout@v4
14-
with:
15-
ref: dev
1615

1716
- name: Set up Node.js
1817
uses: actions/setup-node@v4
@@ -36,13 +35,3 @@ jobs:
3635
git push
3736
env:
3837
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
40-
- name: Upload built worker to release assets
41-
uses: actions/upload-release-asset@v1
42-
with:
43-
upload_url: ${{ github.event.release.upload_url }}
44-
asset_path: ./_worker.js
45-
asset_name: worker.js
46-
asset_content_type: application/javascript
47-
env:
48-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)