Skip to content

Commit

Permalink
ci(push): hook in doc flush notification
Browse files Browse the repository at this point in the history
  • Loading branch information
streambinder committed Jul 28, 2023
1 parent 0162f68 commit 26fe897
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ jobs:
go tool cover -func=coverage.out | grep -E '^total:.*100.0%$'
env:
XDG_MUSIC_DIR: /tmp
notify:
needs: [test]
if: success() && github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GH_ACTIONS_SPOTITUBE }}
repository: streambinder/streambinder
event-type: doc-sync
client-payload: '{"repo": "${{ github.repository }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
benchmark:
runs-on: ubuntu-latest
needs: [test]
Expand Down

0 comments on commit 26fe897

Please sign in to comment.