[DO-NOT-MERGE] ci(docs): stage 2nd-gen docs on merge, gate prod publish behind #gen2-publish - #6507
[DO-NOT-MERGE] ci(docs): stage 2nd-gen docs on merge, gate prod publish behind #gen2-publish#6507rubencarvalho wants to merge 2 commits into
Conversation
|
📚 Branch Preview Links🔍 Gen1 Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
Coverage Report for CI Build 29337832932Warning No base build found for commit Coverage: 96.257%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats💛 - Coveralls |
Warning
Do not merge before we release / announce our beta publicly.
Description
Splits the 2nd-gen documentation deploy into two targets so the public site can stay in sync with releases instead of updating on every merge:
main(non-1st-gen changes) syncs to$web/docs-staging/(https://swcpreviews.z13.web.core.windows.net/docs-staging/). This preserves the always-latest environment we have today.$web/docs/(mapped tospectrum-web-components.adobe.com) now deploys only on a manualworkflow_dispatchor a push tomainwhose commit message contains#gen2-publish.The keyword is
#gen2-publishrather than#publishon purpose: the 1st-genpublish-docs-site.ymlmatches on the#publishsubstring, so a shared keyword would couple the two sites.#gen2-publishdoes not contain#publish, keeping them independent.Motivation and context
We're moving into pre-release/beta publishing and want the public 2nd-gen docs site to update in sync with announced releases, not on every merge. Staging keeps tracking
mainfor day-to-day validation.Related issue(s)
Author's checklist
Manual review test cases
Staging deploys on merge
main.https://swcpreviews.z13.web.core.windows.net/docs-staging/reflects the change.Production deploys on keyword
mainwith#gen2-publishin the commit message (or run the workflow manually).spectrum-web-components.adobe.comreflects the change.No cross-trigger with 1st-gen
#gen2-publishcommit does not trigger Publish Documentation Site (1st-gen).Accessibility testing checklist
CI/documentation-deploy change only; no component or runtime UI is modified.
Keyboard (required — document steps below)
Screen reader (required — document steps below)