diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index c537908a7..3105420e7 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -7,6 +7,11 @@ on: - '!docs' tags: - '**' + workflow_dispatch: + inputs: + ref: + description: 'The branch, tag or SHA to checkout' + required: true jobs: build: name: Build documentation @@ -19,6 +24,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + ref: github.event.inputs.ref || '' - name: Install node.js v16 uses: actions/setup-node@v2