Skip to content

Commit 2fa5670

Browse files
committed
ci: revert use of ansys/actions/doc-deploy-dev
1 parent a68f9bd commit 2fa5670

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/ci_cd.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,17 @@ jobs:
6161
runs-on: ubuntu-latest
6262
needs: doc-build
6363
steps:
64-
- name: Upload development documentation
65-
uses: ansys/actions/doc-deploy-dev@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
64+
65+
- name: Download HTML documentation artifacts
66+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
67+
with:
68+
name: documentation-html
69+
path: documentation-html
70+
71+
- uses: peaceiris/actions-gh-pages@v4
6672
with:
67-
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
68-
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
73+
github_token: ${{ secrets.GITHUB_TOKEN }}
74+
publish_dir: documentation-html
6975
cname: ${{ env.DOCUMENTATION_CNAME }}
70-
token: ${{ secrets.GITHUB_TOKEN }}
76+
full_commit_message: ${{ github.event.head_commit.message }}
77+
force_orphan: true

0 commit comments

Comments
 (0)