Skip to content

Commit

Permalink
Merge branch 'main' into release/0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue committed Apr 14, 2023
2 parents cc8b1f1 + 1158a5a commit 747d1b8
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
name: "Deploy development documentation"
runs-on: ubuntu-latest
needs: [doc-build]
if: github.event_name == 'push'
if: github.ref == 'refs/heads/main'
steps:
- uses: pyansys/actions/doc-deploy-dev@v4
with:
Expand Down Expand Up @@ -174,3 +174,16 @@ jobs:
with:
files: installer/*.exe
generate_release_notes: true

doc-deploy-release:
name: Upload release documentation
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
runs-on: ubuntu-latest
needs: [release]
steps:
- name: Deploy the stable documentation
uses: pyansys/actions/doc-deploy-stable@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
python-version: ${{ env.MAIN_PYTHON_VERSION }}

0 comments on commit 747d1b8

Please sign in to comment.