From bc59d13b336e5149a5df9abd39f43a2eacda815c Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Mon, 29 Aug 2022 16:55:48 +0530 Subject: [PATCH] Fix doc deployment and an issue related to uninstallation --- .github/workflows/ci.yml | 2 +- src/ansys/fluent/core/solver/flobject.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e02451288bf9..38ed780e14db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -221,7 +221,7 @@ jobs: retention-days: 7 - name: Deploy - if: github.event_name == 'push' && contains(github.ref, 'refs/tags') && matrix.image-tag == 'v22.2.0' + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'dev') && matrix.image-tag == 'v22.2.0' uses: JamesIves/github-pages-deploy-action@v4.4.0 with: repository-name: pyansys/pyfluent-docs diff --git a/src/ansys/fluent/core/solver/flobject.py b/src/ansys/fluent/core/solver/flobject.py index 38d50fbb5201..cc4d6e3da5cc 100644 --- a/src/ansys/fluent/core/solver/flobject.py +++ b/src/ansys/fluent/core/solver/flobject.py @@ -971,7 +971,7 @@ def get_root(flproxy, version: str = "") -> Group: ) raise RuntimeError("Mismatch in hash values") cls = settings.root - except (ImportError, RuntimeError): + except Exception: cls = get_cls("", obj_info) root = cls() root.set_flproxy(flproxy)