diff --git a/.github/workflows/trigger-docs-deploy.yml b/.github/workflows/trigger-docs-deploy.yml new file mode 100644 index 00000000..79af34e2 --- /dev/null +++ b/.github/workflows/trigger-docs-deploy.yml @@ -0,0 +1,16 @@ +name: Trigger docs deploy + +on: + push: + branches: [main] + paths: + - "docs/**" + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: Dispatch to atuinsh/docs + run: gh api repos/atuinsh/docs/dispatches -f event_type=docs-updated + env: + GH_TOKEN: ${{ secrets.DOCS_DEPLOY_TOKEN }}