Skip to content

Commit

Permalink
Needs upload of doc
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Nov 30, 2023
1 parent 4629b34 commit 4b52180
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,40 +45,40 @@ jobs:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
#
# upload_docs_release:
# name: "Upload stable documentation"
upload_docs_release:
name: "Upload stable documentation"
# needs: [Publish_to_PyPI]
# runs-on: ubuntu-latest
# steps:
# - name: "Download Release Asset - HTML"
# uses: dsaltares/fetch-gh-release-asset@1.1.0
# with:
# file: HTML-doc-ansys-dpf-core.zip
# token: ${{ secrets.GITHUB_TOKEN }}
#
# - 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
runs-on: ubuntu-latest
steps:
- name: "Download Release Asset - HTML"
uses: dsaltares/fetch-gh-release-asset@1.1.0
with:
file: HTML-doc-ansys-dpf-core.zip
token: ${{ secrets.GITHUB_TOKEN }}

- 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

doc-index-stable:
name: "Deploy stable docs index"
runs-on: ubuntu-latest
# needs: upload_docs_release
needs: upload_docs_release
steps:
- name: "Install Git and clone project"
uses: actions/checkout@v4
Expand Down

0 comments on commit 4b52180

Please sign in to comment.