From 00fdac6e91bac84ad2f16baa919200c45ed3af08 Mon Sep 17 00:00:00 2001 From: "paul.profizi" Date: Thu, 13 Apr 2023 18:49:02 +0200 Subject: [PATCH] try fix --- .github/workflows/ci.yml | 8 +------- .github/workflows/docs.yml | 4 ++-- .github/workflows/releaser.yml | 13 +++++++------ 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 574969173d8..6d655dc88ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,18 +103,12 @@ jobs: if: ${{ github.ref == 'refs/heads/master' }} needs: [docs] steps: - - name: "Unzip HTML Documentation" - shell: bash - run: | - unzip HTML-doc-ansys-dpf-core.zip -d documentation-html - chmod -R 777 documentation-html - if: always() - - name: "Upload development documentation" uses: pyansys/actions/doc-deploy-dev@v4 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} + doc-artifact-name: HTML-doc-ansys-dpf-core.zip examples: if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f636302cb07..ddb033ed8af 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -179,6 +179,6 @@ jobs: - name: "Upload HTML Documentation" uses: actions/upload-artifact@v3 with: - name: HTML-doc-${{env.PACKAGE_NAME}} - path: HTML-doc-${{env.PACKAGE_NAME}}.zip + name: HTML-doc-${{env.PACKAGE_NAME}}.zip + path: docs/build/html if: always() diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 3d09261514e..23cae3ec4d4 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -39,15 +39,16 @@ jobs: file: HTML-doc-ansys-dpf-core.zip token: ${{ secrets.GITHUB_TOKEN }} - - name: "Unzip HTML Documentation" - shell: bash - run: | - unzip HTML-doc-ansys-dpf-core.zip -d documentation-html - chmod -R 777 documentation-html - if: always() +# - name: "Unzip HTML Documentation" +# shell: bash +# run: | +# unzip HTML-doc-ansys-dpf-core.zip -d documentation-html +# chmod -R 777 documentation-html +# if: always() - name: "Deploy the stable documentation" uses: pyansys/actions/doc-deploy-stable@v4 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} + doc-artifact-name: HTML-doc-ansys-dpf-core.zip