From 2fd0180b1b277b060aa05f6a6276b16a2db9fdce Mon Sep 17 00:00:00 2001 From: object-Object Date: Mon, 28 Aug 2023 22:57:26 -0400 Subject: [PATCH] Fix pages condition --- .github/workflows/build_docs.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 52b00ffe..d8c507df 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -92,14 +92,12 @@ jobs: generate: runs-on: ubuntu-latest needs: build + continue-on-error: true strategy: fail-fast: false matrix: lang: ${{ fromJson(needs.build.outputs.matrix) }} - - outputs: - success: ${{ steps.build-web-book.outputs.success }} steps: - uses: actions/checkout@v3 @@ -118,8 +116,7 @@ jobs: run: pip install *.whl - name: Build web book - id: build-web-book - run: $HEXDOC --lang ${{ matrix.lang }} -o _site && echo "success=true" >> "$GITHUB_OUTPUT" + run: $HEXDOC --lang ${{ matrix.lang }} -o _site - name: Upload Pages artifact uses: actions/upload-pages-artifact@v2 @@ -127,9 +124,6 @@ jobs: deploy-pages: runs-on: ubuntu-latest needs: generate - - # deploy if at least one language succeeded - if: needs.generate.outputs.success environment: name: github-pages