From 0b1e9e89712ac9514d5e1f8e5acceef725ec347a Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Sun, 5 May 2024 00:12:24 +0300 Subject: [PATCH] fix jobs --- .github/workflows/sync-wiki.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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"}'