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

Commit 80ede6d

Browse files
committed
(nut-tree/nut.js#234) Added repository dispatch to workflow
1 parent 3ad1b34 commit 80ede6d

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
@@ -58,4 +58,16 @@ jobs:
5858
run: ./.build/pre-release.sh
5959
shell: bash
6060
env:
61-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
61+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
62+
63+
dispatch:
64+
needs:
65+
- deploy
66+
runs-on: ubuntu-latest
67+
steps:
68+
- name: Dispatch snapshot release
69+
uses: peter-evans/repository-dispatch@v1
70+
with:
71+
token: ${{ secrets.SNAPSHOT_DISPATCH_TOKEN }}
72+
repository: nut-tree/nut.js
73+
event-type: snapshot-release

0 commit comments

Comments
 (0)