Skip to content

Commit f3af000

Browse files
committed
ci: fix
1 parent abde25d commit f3af000

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ name: Build Demo and Deploy to Github Pages
22
permissions:
33
contents: write
44
on:
5-
release:
6-
types: [prereleased, released, published]
5+
# release:
6+
# types: [prereleased, released, published]
7+
# above does not work
8+
workflow_run:
9+
workflows: ["release.yml"]
10+
types:
11+
- completed
712

813
jobs:
914
build:

.github/workflows/publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: Build Library and Publish Package to npmjs
22
on:
3-
release:
4-
types: [prereleased, released, published]
3+
# release:
4+
# types: [prereleased, released, published]
5+
# above does not work
6+
workflow_run:
7+
workflows: ["release.yml"]
8+
types:
9+
- completed
510
jobs:
611
build:
712
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)