ci: migrate PR website deploy from Azure Blob Storage to GitHub Pages#35833
Draft
Hotell wants to merge 1 commit intomicrosoft:masterfrom
Draft
ci: migrate PR website deploy from Azure Blob Storage to GitHub Pages#35833Hotell wants to merge 1 commit intomicrosoft:masterfrom
Hotell wants to merge 1 commit intomicrosoft:masterfrom
Conversation
📊 Bundle size report✅ No changes found |
|
Pull request demo site: URL |
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.
Description
Migrates the PR preview website deployment infrastructure from Azure Blob Storage to GitHub Pages, eliminating the Azure dependency and using only GitHub-native infrastructure.
Changes
docsite-publish-ghpages.yml— Replacedactions/upload-pages-artifact+actions/deploy-pageswith direct git push togh-pagesbranch. Usesclean-excludepattern to preservepr-preview/directory during production deploys.pr-website-deploy-comment.yml— Removedazure/login,azure/cliactions and Azure env vars. Deploys PR preview togh-pagesbranch underpr-preview/pr-NUMBER/via git CLI.pr-website-cleanup.yml(new) — Cleans up PR preview directory fromgh-pagesbranch onpull_request_target: closed.pr-deploy-site.js— UpdatedupdatePrOrBranchLink()URL parsing to recognize the new/pr-preview/pr-NUMBER/path format.URL Change
https://fluentuipr.z22.web.core.windows.net/pull/NUMBER/https://microsoft.github.io/fluentui/pr-preview/pr-NUMBER/Security
actions/checkout+ git CLIAZURE_CLIENT_ID,AZURE_TENANT_ID,AZURE_SUBSCRIPTION_ID) can be removed after mergeworkflow_run+pull_request_targettriggersManual prerequisite (repo admin)
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com