Skip to content

DOC: directly linking the yaml works #36

DOC: directly linking the yaml works

DOC: directly linking the yaml works #36

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/repository-dispatch@v2
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 }}"}'