ci: add dispatch event (#477)

Co-authored-by: Ayyan <ayn2op@gmail.com>
This commit is contained in:
vvxrtues 2025-01-04 23:13:11 -05:00 • committed by GitHub
parent 9f15a63424
commit 42854cb685
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"}'