From f9e59f940e24dba9aeddc314be6db041005ecaa7 Mon Sep 17 00:00:00 2001 From: Ludovic Steinbach Date: Mon, 8 Apr 2024 11:50:05 +0200 Subject: [PATCH] Deploy docs after release to PyPI --- .github/workflows/ci_cd.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index d5db83c5..f76d4e5c 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -50,13 +50,6 @@ jobs: needs: integration_checks runs-on: ubuntu-latest steps: - - name: "Deploy stable documentation" - uses: ansys/actions/doc-deploy-stable@v5 - with: - cname: ${{ env.DOCUMENTATION_CNAME }} - token: ${{ secrets.GITHUB_TOKEN }} - doc-artifact-name: Documentation-html - - uses: actions/checkout@v4 - name: Set up Python 3.9 @@ -102,3 +95,10 @@ jobs: dist/*.whl dist/documentation-html.zip dist/*.pdf + + - name: "Deploy stable documentation" + uses: ansys/actions/doc-deploy-stable@v5 + with: + cname: ${{ env.DOCUMENTATION_CNAME }} + token: ${{ secrets.GITHUB_TOKEN }} + doc-artifact-name: Documentation-html \ No newline at end of file