Merge pull request #20 from eipm/B2AI-550 #2
Workflow file for this run
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 ReproSchema to RedCap workflow | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
trigger: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger workflow to build ReproSchema from REDCap | |
run: | | |
curl --request POST \ | |
--header "Authorization: token ${{ secrets.B2AI_REDCAP2RS_PAT }}" \ | |
--header "Accept: application/vnd.github.v3+json" \ | |
--url https://api.github.com/repos/sensein/b2ai-redcap2rs/actions/workflows/deploy.yml/dispatches \ | |
--data '{"ref":"main"}' |