diff --git a/.github/workflows/notify-docs-mirror.yml b/.github/workflows/notify-docs-mirror.yml new file mode 100644 index 0000000000..d6db8e48f2 --- /dev/null +++ b/.github/workflows/notify-docs-mirror.yml @@ -0,0 +1,24 @@ +name: Notify docs.viz.cx mirror + +on: + push: + branches: [master] + paths: + - 'docs/**' + - '@l10n/**' + - 'scripts/sync-l10n.mjs' + - 'package.json' + - 'package-lock.json' + workflow_dispatch: + +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - uses: peter-evans/repository-dispatch@v4 + with: + token: ${{ secrets.DOCS_MIRROR_PAT }} + repository: viz-cx/docs.viz.cx + event-type: docs-updated + client-payload: | + {"sha": "${{ github.sha }}", "ref": "${{ github.ref }}"}