Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylyzo committed May 4, 2024
1 parent 4c5a62e commit 95d8a75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/sync-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on:

jobs:
call-wiki-sync:
name: Trigger Wiki sync in the main repo
runs-on: ubuntu-latest
steps:
- run: |
- name: Trigger Wiki sync in the main repo
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 \
https://api.github.com/repos/${{ github.repository }}/actions/workflows/wiki-sync.yml/dispatches \
-d '{"ref":"refs/heads/master"}'

0 comments on commit 95d8a75

Please sign in to comment.