diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 2cbde8720..82574c79c 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -150,41 +150,29 @@ jobs: python-version: ${{ env.MAIN_PYTHON_VERSION }} use-python-cache: false - doc-deploy-to-repo: - name: "Deploy developers documentation to specific repository" - runs-on: ubuntu-latest - needs: doc-build - steps: - - name: "Deploy developers documentation" - if: github.event_name == 'push' - uses: pyansys/actions/doc-deploy-to-repo@main - with: - cname: ${{ env.DOCUMENTATION_CNAME }} - repository: "pyansys/actions" - bot-id: ${{ secrets.BOT_APPLICATION_ID }} - bot-token: ${{ secrets.BOT_APPLICATION_PRIVATE_KEY }} - doc-deploy-dev: name: "Deploy developers documentation" runs-on: ubuntu-latest - needs: doc-deploy-to-repo + if: github.event_name == 'push' + needs: doc-build steps: - name: "Deploy developers documentation" - if: github.event_name == 'push' uses: pyansys/actions/doc-deploy-dev@main with: + doc-artifact-name: 'documentation-html' cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} doc-deploy-stable: name: "Deploy stable documentation" runs-on: ubuntu-latest + if: github.event_name == 'push' && contains(github.ref, 'refs/tags') needs: doc-deploy-dev steps: - name: "Deploy stable documentation" - if: github.event_name == 'push' && contains(github.ref, 'refs/tags') uses: pyansys/actions/doc-deploy-stable@main with: + doc-artifact-name: 'documentation-html' cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} python-version: ${{ env.MAIN_PYTHON_VERSION }} diff --git a/VERSION b/VERSION index 38f77a65b..e9307ca57 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.1 +2.0.2 diff --git a/tests/pyansys-actions/pyproject.toml b/tests/pyansys-actions/pyproject.toml index c456f2070..bc2e1e1b7 100644 --- a/tests/pyansys-actions/pyproject.toml +++ b/tests/pyansys-actions/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi" [project] # Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections name = "ansys-actions-core" -version = "2.0.1" +version = "2.0.2" description = "A demo library for testing pyansys actions" readme = "README.rst" requires-python = ">=3.7"