Skip to content

Commit

Permalink
test connection main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hdolinh authored Jul 28, 2023
1 parent 83ef31c commit 67e007b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: Check name of branch
run: |
echo $GITHUB_HEAD_REF
- name: Dispatch to RRC
run: |
curl -X POST -u "${{ secrets.RRUSER}}:${{secrets.RRCOURSE}}" \
curl -X POST -H "Authorization: token ${{ secrets.RRCOURSE }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
https://api.github.com/repos/nceas/repro-research-course/dispatches \
--data "{"event_type": "quarto", "client_payload": {"branch": "$GITHUB_HEAD_REF"}}"
--data '{"event_type": "quarto"}'

0 comments on commit 67e007b

Please sign in to comment.