Skip to content

Commit

Permalink
use curl
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylyzo committed May 4, 2024
1 parent acf5b22 commit b78dccc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sync-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ on:

jobs:
call-wiki-sync:
uses: ${{ github.repository }}/.github/workflows/sync-wiki.yml@master
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 b78dccc

Please sign in to comment.