Skip to content

Commit 1e93e65

Browse files
author
Spacehuhn
committed
Fixed nightly workflow
1 parent 0d9f438 commit 1e93e65

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Build message title
13-
run: echo ::set-env name=TITLE::Deauther V2.5 $(echo ${{ github.sha }} | cut -c -7)
13+
id: notif
14+
run: echo ::set-output name=TITLE::Deauther V2 $(echo ${{ github.sha }} | cut -c -7)
1415

1516
- name: Send message
1617
run: |
1718
curl -X POST https://api.github.com/repos/spacehuhntech/nightly-deauther/dispatches \
1819
-H 'Accept: application/vnd.github.everest-preview+json' \
1920
-u ${{ secrets.ACCESS_TOKEN }} \
20-
--data '{"event_type": "${{ env.TITLE }}", "client_payload": {}}'
21+
--data '{"event_type": "${{ steps.notif.outputs.TITLE }}", "client_payload": {}}'

0 commit comments

Comments
 (0)