Skip to content

Merge pull request #181 from dappradar/autointegrationv2 #98

Merge pull request #181 from dappradar/autointegrationv2

Merge pull request #181 from dappradar/autointegrationv2 #98

name: Trigger QA deployment
on:
push:
branches: [ staging ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Send dispatch event to CICD repository
run: |
curl \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.CICD_REPO_DISPATCH_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ secrets.CICD_REPOSITORY_NAME }}/dispatches \
--data '{"event_type": "deploy-defi-providers-qa", "client_payload":{"branch": "staging"}}'