Skip to content

Commit

Permalink
Fix GitHub release (#276)
Browse files Browse the repository at this point in the history
* Fix job dependency

* Disable conditions and unwanted release steps

* DL artifacts and add to rlelease

* Fix paths

* Revert "Disable conditions and unwanted release steps"

This reverts commit 3afd2dc.

* Fix condition for dev docs deploy

* Update documentation path

* Remove extra args in gh release
  • Loading branch information
ludovicsteinbach committed Mar 15, 2023
1 parent c3cde40 commit db34b91
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,23 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: ansys-grantami-bomanalytics-wheel
path: ~/dist
path: dist

- uses: actions/download-artifact@v3
with:
name: Documentation-pdf
path: dist

- uses: actions/download-artifact@v3
with:
name: Documentation-html
path: dist/documentation-html/

- name: "Compressing HTML documentation"
uses: vimtor/[email protected]
with:
files: dist/documentation-html/
dest: dist/documentation-html.zip

- name: "Deploy stable documentation"
uses: pyansys/actions/doc-deploy-stable@v4
Expand All @@ -92,6 +104,6 @@ jobs:
with:
generate_release_notes: true
files: |
~/**/*.whl
./**/*.zip
./**/*.pdf
dist/*.whl
dist/documentation-html.zip
dist/*.pdf
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "MIT"
authors = ["ANSYS, Inc."]
maintainers = ["PyAnsys Maintainers <[email protected]>"]
repository = "https://github.com/pyansys/grantami-bomanalytics"
documentation = "https://grantami.docs.pyansys.com"
documentation = "https://bomanalytics.grantami.docs.pyansys.com"
readme = "README.rst"
keywords = [
"Ansys",
Expand Down

0 comments on commit db34b91

Please sign in to comment.