Merge pull request #5873 from lisajulia/feature/fix/documentation #6
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: Dispatch to opm-python-documentation | |
on: | |
push: | |
branches: master | |
paths: | |
- 'python/docstrings_simulators.json' | |
jobs: | |
dispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send dispatch to opm-simulators | |
env: | |
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
run: | | |
curl -X POST \ | |
-H "Accept: application/vnd.github+json" \ | |
-H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \ | |
https://api.github.com/repos/${{ github.repository_owner }}/opm-python-documentation/dispatches \ | |
-d '{"event_type":"docstrings_simulators_updated"}' |