Skip to content

Merge pull request #323 from ZeitOnline/multigitter/replace-gha-runners #6

Merge pull request #323 from ZeitOnline/multigitter/replace-gha-runners

Merge pull request #323 from ZeitOnline/multigitter/replace-gha-runners #6

name: Trigger docs main build
on:
push:
branches:
- main
- master
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@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 }}"}'