[build] Remove update_gh_pages in favor of CI workflow#16977
[build] Remove update_gh_pages in favor of CI workflow#16977titusfortner merged 2 commits intotrunkfrom
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Latest suggestions up to 426de98
Previous suggestions✅ Suggestions up to commit df10de0
|
|||||||||||||||||||||
There was a problem hiding this comment.
Pull request overview
This PR removes the update_gh_pages function from the Rakefile and delegates documentation publishing responsibility to the CI workflow. The change eliminates the skip_update parameter that was used to conditionally skip gh-pages updates when tasks were invoked from the CI.
Changes:
- Removed the
update_gh_pagesfunction that handled gh-pages branch checkout and file movement - Removed
skip_updateparameter handling from all language-specific docs tasks (java, py, rb, dotnet, node) - Simplified
all:docstask to directly invoke language docs tasks without parameter passing - Updated CI workflow command to remove the
skip_updateargument
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| Rakefile | Removed update_gh_pages function and all skip_update conditional logic; simplified all:docs task invocation pattern |
| .github/workflows/update-documentation.yml | Removed skip_update argument from docs generation command |
* [build] Remove update_gh_pages in favor of CI workflow * [build] Fix artifact path and restore argument forwarding
* [build] Remove update_gh_pages in favor of CI workflow * [build] Fix artifact path and restore argument forwarding
User description
💥 What does this PR do?
Remove the
update_gh_pagesfunction and allskip_updatereferences from Rakefile and CI workflows.update_gh_pagesfunction from Rakefileskip_updateargument handling from all*:docstasks (java, py, rb, dotnet, node)all:docstask to no longer passskip_updatearguments.github/workflows/update-documentation.ymlto removeskip_updatefrom the run command🔧 Implementation Notes
The documentation update workflow should be responsible for branch management and commits in the CI
💡 Additional Considerations
More rakefile updates incoming.
🔄 Types of changes
PR Type
Enhancement
Description
Remove
update_gh_pagesfunction from RakefileRemove
skip_updateargument handling from language-specific docs tasksSimplify
all:docstask to invoke language tasks without skip_updateUpdate CI workflow to remove skip_update from documentation generation command
Diagram Walkthrough
File Walkthrough
update-documentation.yml
Remove skip_update from workflow command.github/workflows/update-documentation.yml
skip_updateargument from the documentation generation commandRakefile
Remove update_gh_pages and skip_update handlingRakefile
update_gh_pagesfunction entirely (48 lines removed)skip_updateconditional logic from all language-specific docstasks (java, py, rb, dotnet, node)
all:docstask to invoke language tasks without skip_updatearguments
all:docstask description from "Update" to "Build"