Skip to content

small change to test bad credentials #699

small change to test bad credentials

small change to test bad credentials #699

Workflow file for this run

name: Dispatcher
on:
pull_request:
branches: ['**']
types:
- closed
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Check name of branch
run: |
echo $GITHUB_HEAD_REF
- name: Dispatch to RRC
run: |
curl -X POST -u "${{ secrets.RRUSER}}:${{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"}}"