Skip to content

Commit

Permalink
Update nitwikit-sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanzisama authored Dec 24, 2024
1 parent eb01f3f commit 8adace0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/nitwikit-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ jobs:
if: ${{ steps.status.outputs.status }}

- name: trigger deploy workflow
run: curl \
run: |
echo "https://api.github.com/repos/${GITHUB_REPOSITORY}/actions/workflows/wiki-deploy.yml/dispatches"
curl \
-X POST \
https://api.github.com/repos/${GITHUB_REPOSITORY}/actions/workflows/wiki-deploy.yml/dispatches \
-u ${{ secrets.PAT_TOKEN }} \
-d '{"ref":"$GITHUB_REF_NAME"}'
-d '{"ref":"${GITHUB_REF_NAME}"}'

0 comments on commit 8adace0

Please sign in to comment.