Skip to content

Commit

Permalink
Reorder steps (#286)
Browse files Browse the repository at this point in the history
(cherry picked from commit 38530f1)
  • Loading branch information
ludovicsteinbach committed Mar 17, 2023
1 parent d7cde52 commit 6cbf8c5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ jobs:
needs: [ integration_checks ]
runs-on: ubuntu-latest
steps:
- name: "Deploy stable documentation"
uses: pyansys/actions/doc-deploy-stable@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
doc-artifact-name: Documentation-html

- uses: actions/checkout@v3

- name: Set up Python 3.9
Expand Down Expand Up @@ -85,13 +92,6 @@ jobs:
files: dist/documentation-html/
dest: dist/documentation-html.zip

- name: "Deploy stable documentation"
uses: pyansys/actions/doc-deploy-stable@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
doc-artifact-name: Documentation-html

# note how we use the PyPI tokens
- name: Upload to PyPI
run: |
Expand Down

0 comments on commit 6cbf8c5

Please sign in to comment.