Skip to content

Commit 9233b7f

Browse files
authored
Fix doc deployment 2 (#319)
* Fix calls to doc deployment actions * Fix calls to doc deployment actions
1 parent c7bed55 commit 9233b7f

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,3 @@ jobs:
216216
with:
217217
cname: ${{ env.DOCUMENTATION_CNAME }}
218218
token: ${{ secrets.GITHUB_TOKEN }}
219-
doc-artifact-name: HTML-doc-ansys-dpf-post
220-
decompress-artifact: true

.github/workflows/docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,12 @@ jobs:
199199
path: HTML-doc-${{env.PACKAGE_NAME}}.zip
200200
if: always()
201201

202+
- name: "Upload HTML Documentation"
203+
uses: actions/upload-artifact@v3
204+
with:
205+
name: documentation-html
206+
path: docs/build/html
207+
202208
- name: "Find PDF Documentation"
203209
shell: bash
204210
if: ${{ inputs.generate_pdf == 'true' }}

.github/workflows/releaser.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,15 @@ jobs:
4141
file: HTML-doc-ansys-dpf-post.zip
4242
token: ${{ secrets.GITHUB_TOKEN }}
4343

44+
- name: "Unzip the HMTL documentation"
45+
uses: montudor/action-zip@v1
46+
with:
47+
args: unzip -qq HTML-doc-ansys-dpf-post.zip -d documentation-html
48+
4449
- name: Deploy the stable documentation
4550
uses: pyansys/actions/doc-deploy-stable@v4
4651
with:
4752
cname: ${{ env.DOCUMENTATION_CNAME }}
4853
token: ${{ secrets.GITHUB_TOKEN }}
4954
python-version: ${{ env.MAIN_PYTHON_VERSION }}
50-
doc-artifact-name: HTML-doc-ansys-dpf-post
51-
decompress-artifact: true
55+

0 commit comments

Comments
 (0)