Skip to content

Commit

Permalink
test bearer as auth main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hdolinh authored Jul 28, 2023
1 parent 627e835 commit a3af0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
echo $GITHUB_HEAD_REF
- name: Dispatch to RRC
run: |
curl -X POST -H "Authorization: token ${{ secrets.RRCOURSE }}" \
curl -X POST -H "Authorization: Bearer ${{ secrets.RRCOURSE }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
--data "{"event_type": "quarto", "client_payload": {"branch": "$GITHUB_HEAD_REF"}}" \
https://api.github.com/repos/nceas/repro-research-course/dispatches \

0 comments on commit a3af0d0

Please sign in to comment.