From 91646a0667000d24403f4c722286315876761da6 Mon Sep 17 00:00:00 2001 From: Yurii Zinets Date: Sun, 28 Jan 2024 01:51:16 +0100 Subject: [PATCH] update docs on push --- .github/workflows/docs.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..7085886 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,22 @@ +name: Documentation update + +on: + push: + branches: + - 'main' + +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - name: Dispatch workflow + uses: actions/github-script@v6 + with: + github-token: ${{ secrets.PAT_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'kyoto-framework', + repo: 'docs.kyoto.codes', + workflow_id: 'release.yml', + ref: 'main' + })