Skip to content

Commit

Permalink
update dispatch for test
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed Sep 2, 2024
1 parent e9b228d commit 2e2b469
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/release-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,19 @@ jobs:
latest_release=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r .tag_name)
echo "LATEST_RELEASE_TAG=$latest_release" >> $GITHUB_ENV
- name: Send release notification to gencle
# - name: Send release notification to gencle
# run: |
# curl -X POST \
# -H "Accept: application/vnd.github.v3+json" \
# -H "Authorization: token ${{ secrets.RELEASE_PAT }}" \
# https://api.github.com/repos/clEsperanto/gencle/dispatches \
# -d '{"event_type":"clic_update", "client_payload": {"release_tag": "${{ env.LATEST_RELEASE_TAG }}"}}'

- name: Send release notification to bot account
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.RELEASE_PAT }}" \
https://api.github.com/repos/clEsperanto/gencle/dispatches \
-H "Accept: application/vnd.github.v3+json"
-H "Authorization: token ${{ secrets.RELEASE_PAT }}"
https://api.github.com/repos/clEsperanto/bot_playground/dispatches \
-d '{"event_type":"clic_update", "client_payload": {"release_tag": "${{ env.LATEST_RELEASE_TAG }}"}}'

0 comments on commit 2e2b469

Please sign in to comment.