Skip to content

Merge pull request #9 from individual-brain-charting/auth_fix #11

Merge pull request #9 from individual-brain-charting/auth_fix

Merge pull request #9 from individual-brain-charting/auth_fix #11

Workflow file for this run

name: Update notifier
on:
push:
branches: [main]
paths: ['.github/workflows/**', 'src/ibc_api/**', 'examples/get_data.ipynb']
jobs:
dispatch:
name: Notify docs
env:
PACKAGES_TO_UPGRADE: ${{ needs.run_publish.outputs.packages }}
runs-on: ubuntu-latest
strategy:
matrix:
repo: ['individual-brain-charting/docs']
timeout-minutes: 5
steps:
- name: Trigger docs build
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.UPDATE_NOTIFIER_TOKEN }}"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ matrix.repo }}/dispatches \
-d '{"event_type":"api_updated","client_payload":{"unit":false,"integration":true}}'