Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit 6a38e04

Browse files
committedMay 24, 2021
(nut-tree/nut.js#234) Added repository dispatch to workflow
1 parent d555cb2 commit 6a38e04

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed
 

‎.github/workflows/snapshot_release.yaml

+13-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,16 @@ jobs:
6262
run: ./.build/pre-release.sh
6363
shell: bash
6464
env:
65-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
65+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
66+
67+
dispatch:
68+
needs:
69+
- deploy
70+
runs-on: ubuntu-latest
71+
steps:
72+
- name: Dispatch snapshot release
73+
uses: peter-evans/repository-dispatch@v1
74+
with:
75+
token: ${{ secrets.SNAPSHOT_DISPATCH_TOKEN }}
76+
repository: nut-tree/nut.js
77+
event-type: snapshot-release

0 commit comments

Comments
 (0)