Merge pull request #158 from ZeitOnline/maint/gha #39
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: Trigger docs main build | |
on: | |
push: | |
paths: | |
- 'docs/**' | |
- '!docs/api/**' | |
- '.github/workflows/docs-trigger-build.yaml' | |
jobs: | |
trigger: | |
name: Trigger | |
runs-on: zon-ubuntu-general-dind | |
if: contains(github.repository, 'ZeitOnline') | |
steps: | |
- name: Trigger Repository Dispatch in docs | |
uses: peter-evans/[email protected] | |
with: | |
token: ${{ secrets.PRIVATE_REPO_ACCESS_PAT }} | |
repository: ZeitOnline/docs | |
event-type: module-commit | |
client-payload: '{"repo": "${{ github.repository }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |