Skip to content

Commit 5f6e550

Browse files
ci: add doc deploys
1 parent fc7b864 commit 5f6e550

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/ci_cd.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@ jobs:
5555
skip-install: true
5656
dependencies: 'texlive-latex-extra latexmk nodejs npm'
5757

58+
doc-deploy-pr:
59+
name: "Deploy PR documentation"
60+
runs-on: ubuntu-latest
61+
if: github.event_name == 'pull_request'
62+
needs: doc-build
63+
steps:
64+
- uses: ansys/actions/doc-deploy-pr@12ca08fd7f0caa52076cca15c5621482646f8560 # v10.3.1
65+
with:
66+
cname: ${{ env.DOCUMENTATION_CNAME }}
67+
token: ${{ secrets.GITHUB_TOKEN }}
68+
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
69+
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
70+
5871
doc-deploy:
5972
name: "Deploy documentation"
6073
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)