mirror of https://github.com/OpenVidu/openvidu.git
github: Updated dispatch event
parent
e26fdf723c
commit
70916677de
|
@ -15,21 +15,18 @@ jobs:
|
||||||
openvidu_angular_e2e:
|
openvidu_angular_e2e:
|
||||||
name: E2E tests
|
name: E2E tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
OPENVIDU_DISPATCH_EVENT_GA: ${{ secrets.OPENVIDU_DISPATCH_EVENT_GA }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: '16'
|
||||||
- name: Send repository dispatch event
|
- name: Send repository dispatch event
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.OPENVIDU_DISPATCH_EVENT_GA }}
|
||||||
run: |
|
run: |
|
||||||
curl \
|
gh api repos/OpenVidu/openvidu-call/dispatches \
|
||||||
-X POST \
|
--raw-field event_type=ov-components \
|
||||||
-H "Accept: application/vnd.github+json" \
|
--raw-field client_payload={"commit-message": "${{ github.event.head_commit.message }}"","commit-ref": "${{ github.event.head_commit.sha }}"}
|
||||||
-H "Authorization: Bearer ${OPENVIDU_DISPATCH_EVENT_GA}" \
|
|
||||||
https://api.github.com/repos/OpenVidu/openvidu-call/dispatches \
|
|
||||||
-d '{"event_type":"on-demand-e2e-test"}'
|
|
||||||
- name: Run Selenium Chromedriver
|
- name: Run Selenium Chromedriver
|
||||||
run: docker run -d --shm-size="2g" --network host selenium/standalone-chrome:104.0
|
run: docker run -d --shm-size="2g" --network host selenium/standalone-chrome:104.0
|
||||||
- name: Run openvidu-server-kms
|
- name: Run openvidu-server-kms
|
||||||
|
|
Loading…
Reference in New Issue