-
-
Notifications
You must be signed in to change notification settings - Fork 0
21 lines (17 loc) · 647 Bytes
/
Copy pathnightly.yml
File metadata and controls
21 lines (17 loc) · 647 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Trigger nightly build
on:
push:
jobs:
notify-nightly:
name: "Trigger new build on nightly-deauther"
runs-on: ubuntu-latest
steps:
- name: Build message title
id: notif
run: echo ::set-output name=TITLE::Deauther V2 $(echo ${{ github.sha }} | cut -c -7)
- name: Send message
run: |
curl -X POST https://api.github.com/repos/SoDebug/nightly-deauther/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.ACCESS_TOKEN }} \
--data '{"event_type": "${{ steps.notif.outputs.TITLE }}", "client_payload": {}}'