Merge pull request #181 from dappradar/autointegrationv2 #98
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"}}' |