Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,12 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' }}
needs: [docs]
steps:
- name: "Unzip HTML Documentation"
shell: bash
run: |
unzip HTML-doc-ansys-dpf-core.zip -d documentation-html
chmod -R 777 documentation-html
if: always()

- name: "Upload development documentation"
uses: pyansys/actions/doc-deploy-dev@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
doc-artifact-name: HTML-doc-ansys-dpf-core.zip

examples:
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@ jobs:
- name: "Upload HTML Documentation"
uses: actions/upload-artifact@v3
with:
name: HTML-doc-${{env.PACKAGE_NAME}}
path: HTML-doc-${{env.PACKAGE_NAME}}.zip
name: HTML-doc-${{env.PACKAGE_NAME}}.zip
path: docs/build/html
if: always()
13 changes: 7 additions & 6 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,16 @@ jobs:
file: HTML-doc-ansys-dpf-core.zip
token: ${{ secrets.GITHUB_TOKEN }}

- name: "Unzip HTML Documentation"
shell: bash
run: |
unzip HTML-doc-ansys-dpf-core.zip -d documentation-html
chmod -R 777 documentation-html
if: always()
# - name: "Unzip HTML Documentation"
# shell: bash
# run: |
# unzip HTML-doc-ansys-dpf-core.zip -d documentation-html
# chmod -R 777 documentation-html
# if: always()

- name: "Deploy the stable documentation"
uses: pyansys/actions/doc-deploy-stable@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
doc-artifact-name: HTML-doc-ansys-dpf-core.zip