Skip to content

Commit

Permalink
Trigger publish on release branch ci completion
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Nov 18, 2021
1 parent 1355a84 commit 595fd23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
branches:
- master
- release
pull_request:
name: ci
jobs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Publish to NPM
on:
push:
workflow_run:
branches:
- release
workflows:
- ci
types:
- completed
jobs:
publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 595fd23

Please sign in to comment.