From c3e45735e107110cfca869537f48ebf903103684 Mon Sep 17 00:00:00 2001 From: Chris Barber Date: Tue, 31 May 2022 08:09:43 -0500 Subject: [PATCH] docs: Added manual dispatch for regen API docs --- .github/workflows/regen-docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/regen-docs.yml b/.github/workflows/regen-docs.yml index f607085..7a3461c 100644 --- a/.github/workflows/regen-docs.yml +++ b/.github/workflows/regen-docs.yml @@ -1,5 +1,6 @@ name: Regen Docs on: + workflow_dispatch: pull_request: types: [ closed ] branches: [ master ] @@ -7,7 +8,7 @@ on: jobs: regen: - if: github.event.pull_request.merged == true + if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest name: Trigger Regen @@ -34,5 +35,5 @@ jobs: uses: peter-evans/repository-dispatch@v2 with: event-type: regen-api-docs - repository: tidev/titanium-docs token: ${{ secrets.REGEN_DOCS_GITHUB_TOKEN }} + repository: tidev/titanium-docs