Skip to content

Commit f8b93d7

Browse files
authored
Add required inputs for doc deploy (#617)
Add the newly-required inputs for the v8 version of the doc deploy action. See https://actions.docs.ansys.com/version/dev/migrations/index.html#migration-guide Replace GITHUB_TOKEN with PYANSYS_CI_BOT_TOKEN where applicable, so that the commiter's credentials match the used email / username.
1 parent 29f3e88 commit f8b93d7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci_cd.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,10 @@ jobs:
469469
uses: ansys/actions/doc-deploy-dev@v8
470470
with:
471471
cname: ${{ env.DOCUMENTATION_CNAME }}
472-
token: ${{ secrets.GITHUB_TOKEN }}
472+
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
473473
force-orphan: false
474+
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
475+
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
474476

475477
upload_docs_release:
476478
name: Upload release documentation
@@ -482,4 +484,6 @@ jobs:
482484
uses: ansys/actions/doc-deploy-stable@v8
483485
with:
484486
cname: ${{ env.DOCUMENTATION_CNAME }}
485-
token: ${{ secrets.GITHUB_TOKEN }}
487+
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
488+
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
489+
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}

0 commit comments

Comments
 (0)