|
@@ -28,12 +28,12 @@ jobs:
|
|
|
discordo.exe
|
|
discordo.exe
|
|
|
|
|
|
|
|
- name: Send repository dispatch
|
|
- name: Send repository dispatch
|
|
|
- if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
|
|
|
|
|
|
+ if: ${{ runner.os == 'Windows' && github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
|
|
env:
|
|
env:
|
|
|
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
+ GH_TOKEN: ${{ secrets.PAT }}
|
|
|
run: |
|
|
run: |
|
|
|
gh api \
|
|
gh api \
|
|
|
--method POST \
|
|
--method POST \
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
/repos/vvirtues/bucket/dispatches \
|
|
/repos/vvirtues/bucket/dispatches \
|
|
|
- -f "event_type=discordo-ci-completed"
|
|
|
|
|
|
|
+ -f "event_type=discordo-ci-completed"
|