Skip to content

Commit

Permalink
dispatch only to gencle
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed Aug 30, 2024
1 parent c6e734c commit e9b228d
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/release-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,10 @@ 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 pyclesperanto
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.RELEASE_PAT }}" \
https://api.github.com/repos/clEsperanto/pyclesperanto/dispatches \
-d '{"event_type":"custom_event", "client_payload": {"release_tag": "${{ env.LATEST_RELEASE_TAG }}"}}'
- name: Send release notification to clesperantoJ
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.RELEASE_PAT }}" \
https://api.github.com/repos/clEsperanto/clesperantoj_prototype/dispatches \
-d '{"event_type":"custom_event", "client_payload": {"release_tag": "${{ env.LATEST_RELEASE_TAG }}"}}'
- name: Send release notification to playground
- 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/bot_playground/dispatches \
-d '{"event_type":"custom_event", "client_payload": {"release_tag": "${{ env.LATEST_RELEASE_TAG }}"}}'
https://api.github.com/repos/clEsperanto/gencle/dispatches \
-d '{"event_type":"clic_update", "client_payload": {"release_tag": "${{ env.LATEST_RELEASE_TAG }}"}}'

0 comments on commit e9b228d

Please sign in to comment.