Skip to content

Commit

Permalink
Fixed nightly workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacehuhn committed Jan 11, 2021
1 parent 0d9f438 commit 1e93e65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Build message title
run: echo ::set-env name=TITLE::Deauther V2.5 $(echo ${{ github.sha }} | cut -c -7)
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/spacehuhntech/nightly-deauther/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.ACCESS_TOKEN }} \
--data '{"event_type": "${{ env.TITLE }}", "client_payload": {}}'
--data '{"event_type": "${{ steps.notif.outputs.TITLE }}", "client_payload": {}}'

0 comments on commit 1e93e65

Please sign in to comment.