Skip to content

Commit

Permalink
fix jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylyzo committed May 4, 2024
1 parent b78dccc commit 0b1e9e8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/sync-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}'

0 comments on commit 0b1e9e8

Please sign in to comment.