Skip to content

Commit 4d78291

Browse files
committed
switch github events release type
1 parent a92165e commit 4d78291

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
on: [push, pull_request, published]
2+
13
name: Build, deploy and release
24

35
jobs:
46
build:
7+
58
runs-on: ubuntu-latest
69
permissions:
710
pages: write
@@ -95,7 +98,7 @@ jobs:
9598
path: pandoc-wasm-${{ env.VERSION }}.zip
9699

97100
- name: Upload to release
98-
if: ${{ github.event_name == 'release' }}
101+
if: ${{ github.event_name == 'published' }}
99102
uses: svenstaro/upload-release-action@v2
100103
with:
101104
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)