Documentation #2
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: Notify Parent Repo on Push | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
dispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger Parent Repo Workflow | |
uses: peter-evans/repository-dispatch@v1 | |
with: | |
token: ${{ secrets.PAT }} | |
repository: danielrosehill/Documetation-Root-Repo | |
event-type: update-submodule | |
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |