Skip to content

Commit

Permalink
Fix switcher in documentation build script (#325)
Browse files Browse the repository at this point in the history
* Fix switcher in documentation build script

* Fix trigger on upload_doc_release

* Update docs/source/conf.py
  • Loading branch information
PProfizi authored Mar 9, 2023
1 parent b745772 commit 0aaf55f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

upload_docs_release:
name: "Upload release documentation"
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
if: contains(github.ref, 'refs/tags')
runs-on: ubuntu-latest
needs: [Publish_to_PyPI]
steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

# The short X.Y version
release = version = __version__
cname = os.getenv("DOCUMENTATION_CNAME", "nocname.com")
cname = os.getenv("DOCUMENTATION_CNAME", "post.docs.pyansys.com")


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 0aaf55f

Please sign in to comment.