From 367d43687b68bfe594dd77894fa98bc1133e5766 Mon Sep 17 00:00:00 2001 From: bgk Date: Mon, 8 Apr 2024 20:49:12 -0700 Subject: [PATCH] Create trigger-docs workflow --- .github/workflows/trigger-docs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/trigger-docs diff --git a/.github/workflows/trigger-docs b/.github/workflows/trigger-docs new file mode 100644 index 0000000..fd113c9 --- /dev/null +++ b/.github/workflows/trigger-docs @@ -0,0 +1,23 @@ +name: trigger-docs + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Trigger Docs + uses: actions/github-script@v6 + with: + github-token: ${{ secrets.PAT }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'peartreegames', + repo: 'website', + workflow_id: 'main.yml', + ref: 'main' + })