Skip to content

Commit 0e4c115

Browse files
committed
(#42) Added dispatch job to trigger snapshot release of libnut-install
1 parent c782dfd commit 0e4c115

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/snapshot_release.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,15 @@ jobs:
7070
shell: powershell
7171
env:
7272
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
73+
74+
dispatch:
75+
needs:
76+
- deploy
77+
runs-on: ubuntu-latest
78+
steps:
79+
- name: Dispatch snapshot release
80+
uses: peter-evans/repository-dispatch@v1
81+
with:
82+
token: ${{ secrets.SNAPSHOT_DISPATCH_TOKEN }}
83+
repository: nut-tree/libnut-install
84+
event-type: snapshot-release

0 commit comments

Comments
 (0)