Skip to content

Commit da4f99e

Browse files
authored
Fix documentation deployment (#885)
1 parent ae5ab1c commit da4f99e

File tree

3 files changed

+5
-20
lines changed

3 files changed

+5
-20
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
with:
109109
cname: ${{ env.DOCUMENTATION_CNAME }}
110110
token: ${{ secrets.GITHUB_TOKEN }}
111+
doc-artifact-name: HTML-doc-ansys-dpf-core
111112

112113
examples:
113114
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft

.github/workflows/docs.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -170,22 +170,10 @@ jobs:
170170
path: docs/*.txt
171171
if: always()
172172

173-
- name: "Zip HTML Documentation"
174-
uses: vimtor/action-zip@v1
175-
with:
176-
files: docs/build/html
177-
dest: HTML-doc-${{env.PACKAGE_NAME}}.zip
178-
if: always()
179-
180173
- name: "Upload HTML Documentation"
181174
uses: actions/upload-artifact@v3
182175
with:
183176
name: HTML-doc-${{env.PACKAGE_NAME}}
184-
path: HTML-doc-${{env.PACKAGE_NAME}}.zip
177+
path: |
178+
docs/build/html/
185179
if: always()
186-
187-
- name: "Upload HTML Documentation"
188-
uses: actions/upload-artifact@v3
189-
with:
190-
name: documentation-html
191-
path: docs/build/html

.github/workflows/releaser.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,12 @@ jobs:
3636
- name: "Download Release Asset - HTML"
3737
uses: dsaltares/[email protected]
3838
with:
39-
file: HTML-doc-ansys-dpf-core.zip
39+
file: HTML-doc-ansys-dpf-core
4040
token: ${{ secrets.GITHUB_TOKEN }}
4141

42-
- name: "Unzip the HMTL documentation"
43-
uses: montudor/action-zip@v1
44-
with:
45-
args: unzip -qq HTML-doc-ansys-dpf-core.zip -d documentation-html
46-
4742
- name: "Deploy the stable documentation"
4843
uses: pyansys/actions/doc-deploy-stable@v4
4944
with:
5045
cname: ${{ env.DOCUMENTATION_CNAME }}
5146
token: ${{ secrets.GITHUB_TOKEN }}
47+
doc-artifact-name: HTML-doc-ansys-dpf-core

0 commit comments

Comments
 (0)