diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ba724f..b491e8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,12 +28,12 @@ jobs: discordo.exe - 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: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.PAT }} run: | gh api \ --method POST \ -H "Accept: application/vnd.github+json" \ /repos/vvirtues/bucket/dispatches \ - -f "event_type=discordo-ci-completed" + -f "event_type=discordo-ci-completed" \ No newline at end of file