Skip to content

docs: Move that documentation part to config repo #9

docs: Move that documentation part to config repo

docs: Move that documentation part to config repo #9

name: Trigger docs main build
on:
push:
branches:
- main
paths:
- docs/**
- .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@v3
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 }}"}'