Skip to content

Commit 20bd501

Browse files
authored
Fix upload-development-docs step in CI (#901)
1 parent 2e634cd commit 20bd501

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,18 @@ jobs:
103103
if: ${{ github.ref == 'refs/heads/master' }}
104104
needs: [docs]
105105
steps:
106+
- name: "Unzip HTML Documentation"
107+
shell: bash
108+
run: |
109+
unzip HTML-doc-ansys-dpf-core.zip -d documentation-html
110+
chmod -R 777 documentation-html
111+
if: always()
112+
106113
- name: "Upload development documentation"
107114
uses: pyansys/actions/doc-deploy-dev@v4
108115
with:
109116
cname: ${{ env.DOCUMENTATION_CNAME }}
110117
token: ${{ secrets.GITHUB_TOKEN }}
111-
doc-artifact-name: HTML-doc-ansys-dpf-core
112-
decompress-artifact: true
113118

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

.github/workflows/releaser.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,15 @@ jobs:
3939
file: HTML-doc-ansys-dpf-core.zip
4040
token: ${{ secrets.GITHUB_TOKEN }}
4141

42+
- name: "Unzip HTML Documentation"
43+
shell: bash
44+
run: |
45+
unzip HTML-doc-ansys-dpf-core.zip -d documentation-html
46+
chmod -R 777 documentation-html
47+
if: always()
48+
4249
- name: "Deploy the stable documentation"
4350
uses: pyansys/actions/doc-deploy-stable@v4
4451
with:
4552
cname: ${{ env.DOCUMENTATION_CNAME }}
4653
token: ${{ secrets.GITHUB_TOKEN }}
47-
doc-artifact-name: HTML-doc-ansys-dpf-core.zip
48-
decompress-artifact: true

0 commit comments

Comments
 (0)