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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ jobs:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
doc-artifact-name: HTML-doc-ansys-dpf-core.zip
decompress-artifact: true

examples:
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,6 @@ jobs:
needs: [style, tests, docs, examples, retro_232, retro_231, retro_222, retro_221, gate, docker_tests]
runs-on: ubuntu-latest
steps:
- name: "Set up Python"
uses: actions/[email protected]
with:
python-version: 3.9

- name: "Download artifacts"
uses: actions/download-artifact@v3

Expand All @@ -204,12 +199,3 @@ jobs:
./**/*.zip
draft: true
generate_release_notes: true

# - name: "Upload to Test PyPi" # Change TOKEN
# run: |
# pip install twine
# twine upload --repository testpypi --skip-existing ./**/*.whl
# twine upload --repository testpypi --skip-existing ./**/*.tar.gz
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,5 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: HTML-doc-${{env.PACKAGE_NAME}}.zip
path: docs/build/html
path: HTML-doc-${{env.PACKAGE_NAME}}.zip
if: always()
17 changes: 11 additions & 6 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,21 @@ 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: "List downloaded assets"
shell: bash
run: |
ls

- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: HTML-doc-ansys-dpf-core.zip
path: HTML-doc-ansys-dpf-core.zip

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