Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds documentation deployment functionality for pull requests by introducing two new GitHub Actions workflows. The implementation allows PR documentation to be deployed to a temporary directory in the github-pages branch, with automatic cleanup when PRs are closed or merged.
- Adds a new workflow for deploying PR documentation that triggers when docs build successfully
- Implements automatic cleanup of PR documentation when PRs are closed or merged
- Extends the main CI workflow to trigger on additional PR events needed for documentation deployment
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/pr-docs-cleaner.yml |
New workflow for cleaning up PR documentation after closure |
.github/workflows/ci.yml |
Extended PR triggers and added doc deployment job |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
I was wondering @moe-ad if having the cleanup in another workflow works with the current action implementation?? |
|
The documentation for this pull request will be available at https://mapdl.docs.pyansys.com/pull/4173. Please allow some time for the documentation to be deployed. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4173 +/- ##
==========================================
- Coverage 91.29% 91.28% -0.02%
==========================================
Files 193 193
Lines 15730 15730
==========================================
- Hits 14361 14359 -2
- Misses 1369 1371 +2 🚀 New features to boost your workflow:
|
…ntation deployment
|
#PeopleAreOnHolidays #MinorWorks LGTM. @pyansys-ci-bot LGTM |
|
This PR has been closed. Documentation for this pull request will shortly be removed from its former deployment address. |
|
Action proving the deletion of the deployed docs: https://github.com/ansys/pymapdl/actions/runs/16941487742 Congratulations on this @moe-ad, it works great!!
|


Description
Deploy PR docs to a temporary directory in
github-pages. A message in the PR indicates the link where to check the PR.Issue linked
NA
Checklist
draftif it is not ready to be reviewed yet.feat: adding new MAPDL command)