diff --git a/.github/workflows/sync-wiki.yml b/.github/workflows/sync-wiki.yml index 89f4d4b..364f05a 100644 --- a/.github/workflows/sync-wiki.yml +++ b/.github/workflows/sync-wiki.yml @@ -7,10 +7,12 @@ on: jobs: call-wiki-sync: - run: | - curl \ - -X POST \ - -H "Accept: application/vnd.github.v3+json" \ - -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ - https://api.github.com/repos/${{ github.repository }}/actions/workflows/sync-wiki.yml/dispatches \ - -d '{"ref":"refs/heads/master"}' + runs-on: ubuntu-latest + steps: + - run: | + curl \ + -X POST \ + -H "Accept: application/vnd.github.v3+json" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + https://api.github.com/repos/${{ github.repository }}/actions/workflows/sync-wiki.yml/dispatches \ + -d '{"ref":"refs/heads/master"}'