diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fce3c7a..1fc3151 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,3 +26,11 @@ jobs: path: | discordo discordo.exe + + - name: Send repository dispatch + if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} + run: | + curl -X POST -H "Accept: application/vnd.github.v3+json" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + https://api.github.com/repos/vvirtues/bucket/dispatches \ + -d '{"event_type": "discordo-ci-completed"}' \ No newline at end of file