mirror of https://github.com/OpenVidu/openvidu.git
ci: Replaced gh cli command by curl request
gh cli does not suport object as parameterspull/750/head
parent
0a2a89e375
commit
7d88c1fafb
|
@ -24,10 +24,15 @@ jobs:
|
|||
- name: Send repository dispatch event
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.OPENVIDU_DISPATCH_EVENT_GA }}
|
||||
COMMIT_MESSAGE: ${{ github.event.head_commit.message || 'Manually' }}
|
||||
COMMIT_SHA: ${{ github.event.head_commit.sha || 'Manually' }}
|
||||
run: |
|
||||
gh api repos/OpenVidu/openvidu-call/dispatches \
|
||||
-f event_type='openvidu-components-angular' \
|
||||
-F client_payload={"commit-message": "${{ github.event.head_commit.message || 'Manually run' }}"}
|
||||
curl \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://api.github.com/repos/OpenVidu/openvidu-call/dispatches \
|
||||
-d '{"event_type":"openvidu-components-angular","client_payload":{"commit-message":"'$COMMIT_MESSAGE'","commit-ref":"'$COMMIT_SHA'"}}'
|
||||
- name: Run Selenium Chromedriver
|
||||
run: docker run -d --shm-size="2g" --network host selenium/standalone-chrome:104.0
|
||||
- name: Run openvidu-server-kms
|
||||
|
|
Loading…
Reference in New Issue