From 8ce60e9be7b6793fd9c8b058f74704ca584fb404 Mon Sep 17 00:00:00 2001 From: Yurii Shynbuiev - IOHK Date: Thu, 11 Jul 2024 19:09:58 +0700 Subject: [PATCH] ci: add workflow_dispatch to the build-docs.yml (#138) Signed-off-by: Yurii Shynbuiev --- .github/workflows/build-docs.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 1434baca6..7d0e9c2de 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -5,6 +5,12 @@ on: branches: - main pull_request: + workflow_dispatch: + inputs: + branch: + description: "Branch to build the does from" + required: false + default: "main" defaults: run: @@ -17,7 +23,7 @@ env: jobs: build: runs-on: ubuntu-latest - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' steps: - uses: actions/checkout@v4 with: