Skip to content

Commit

Permalink
ci: add target
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Jan 20, 2023
1 parent 4bc5bfd commit 8fd15d6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/dispatches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,17 @@ jobs:
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: send
- name: send peaceiris.com
run: |
curl -X POST "https://api.github.com/repos/peaceiris/peaceiris.com/dispatches" \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ steps.app.outputs.token }}" \
-H "X-GitHub-Api-Version: ${{ env.GH_API_VERSION }}" \
-d '{"event_type": "hugo-theme-iris", "client_payload": {"tag_name": "'"${GITHUB_REF_NAME}"'"}}'
- name: send kbase
run: |
curl -X POST "https://api.github.com/repos/peaceiris/kbase/dispatches" \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ steps.app.outputs.token }}" \
-H "X-GitHub-Api-Version: ${{ env.GH_API_VERSION }}" \
-d '{"event_type": "hugo-theme-iris", "client_payload": {"tag_name": "'"${GITHUB_REF_NAME}"'"}}'

0 comments on commit 8fd15d6

Please sign in to comment.