From a18426658a1c5a61a8e569c0f2b81af47877351a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Wed, 21 Oct 2026 17:33:25 +0200 Subject: [PATCH] Add Pipeline trigger for doc-website --- .github/workflows/trigger-docs.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/trigger-docs.yml diff --git a/.github/workflows/trigger-docs.yml b/.github/workflows/trigger-docs.yml new file mode 100644 index 0000000..b2e41aa --- /dev/null +++ b/.github/workflows/trigger-docs.yml @@ -0,0 +1,19 @@ +name: Trigger docs build + +# Rebuilds the documentation website (aharabada/glitchy-engine-docs) whenever main changes +on: + push: + branches: [main] + workflow_dispatch: + +permissions: {} + +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - name: Notify docs repository + env: + # Fine-grained PAT, only for glitchy-engine-docs, permission "Contents: Read and write" + GH_TOKEN: ${{ secrets.DOCS_DISPATCH_TOKEN }} + run: gh api repos/aharabada/glitchy-engine-docs/dispatches -f event_type=engine-updated