Upgrade deployment workflow to GitHub native actions#770
Merged
Conversation
Contributor
|
@copilot Continue running original prompt |
…b native actions Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com>
Contributor
Author
Done! Implemented the upgrade in commit
|
Copilot
AI
changed the title
[WIP] Upgrade deployment workflow to GitHub native actions
Upgrade deployment workflow to GitHub native actions
Mar 11, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the manual release.yml workflow to deploy the Docusaurus site to GitHub Pages using GitHub’s first-party Pages deployment actions instead of a third-party gh-pages publisher action.
Changes:
- Replaces
peaceiris/actions-gh-pages@v3withactions/upload-pages-artifact@v3+actions/deploy-pages@v4. - Adjusts workflow permissions for the GitHub Pages OIDC-based deployment flow.
- Adds a
github-pagesenvironment with the deployedpage_urlfor environment tracking/protection.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com>
hemarina
reviewed
Mar 12, 2026
kristenwomack
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades the
release.ymldeployment workflow from the third-partypeaceiris/actions-gh-pages@v3to GitHub's native first-party Pages deployment actions.Changes Made
peaceiris/actions-gh-pages@v3with two GitHub-native steps:actions/upload-pages-artifact@v3— packages the Docusaurus build output as a GitHub Pages artifactactions/deploy-pages@v4— deploys the uploaded artifact to GitHub Pagescontents: write(no longer needed; the native flow doesn't push to agh-pagesbranch)contentstoreadpages: write(required for Pages deployment)deployments: write(required byactions/deploy-pages)environmentconfiguration on the job (name: github-pages,url: ${{ steps.deployment.outputs.page_url }}), enabling GitHub Pages environment protection rules and deployment status tracking in the GitHub UIconcurrencygroup (group: pages,cancel-in-progress: false) at the workflow level to prevent concurrent manual release runs from overwriting each other's deployment status or environment URLWhy
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.