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: