From 69fffeeeefb18bfe354590b2d39f3b74ddfe880b Mon Sep 17 00:00:00 2001 From: Jack Gerrits Date: Fri, 18 Oct 2024 11:03:17 -0400 Subject: [PATCH] Work on multiversion build --- .github/workflows/docs.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 399e789c6e8b..304921de8bde 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,7 +6,10 @@ on: push: branches: - main - - staging + + pull_request: + branches: + - main # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -132,14 +135,13 @@ jobs: path: "website/artifact" name: "02-docs" - deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: [build-02, build-04, gen-redirects] - if: ${{ needs.build-02.result == 'success' && needs.build-04.result == 'success' && github.ref == 'refs/heads/main' }} + if: ${{ needs.build-02.result == 'success' && needs.build-04.result == 'success' && needs.gen-redirects.result == 'success' && github.ref == 'refs/heads/main' }} steps: - uses: actions/download-artifact@v4 with: