Skip to content

ci: Isolate main docs builds and deploy the complete Pages site - #1722

Open
d3xter666 wants to merge 2 commits into
mainfrom
ci/docs-pages-main
Open

d3xter666 wants to merge 2 commits into
mainfrom
ci/docs-pages-main

Conversation

@d3xter666

@d3xter666 d3xter666 commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Separate VitePress generation from privileged publication so dependency installation and build scripts cannot access publishing credentials. Transfer generated docs by exact artifact ID and reject digest mismatches. Main updates only v5/, next/ and 404.html; schema publication remains with v4. Preserve the existing build commands, Node/runner versions and main's manual trigger, restricted to main.

The publish job checks out the latest gh-pages, updates only main's owned paths, appends a conditional commit, and pushes without force. Only contents: write is granted to the publish job. Pages is served from the gh-pages branch — the git push is the deployment; no Settings changes are needed.

Rollout (coordinate with v4 PR #1723): merge both PRs during the same rollout with no older deployment running. Verify /v5/, /next/, /v4/, /stable/, the root redirect and schemas afterwards.

JIRA: CPOUI5FOUNDATION-1408

Keep build scripts away from publishing credentials. Serialize publication
with v4 and append only owned paths to preserve shared gh-pages history.
Deploy the complete site through the github-pages environment.

JIRA: CPOUI5FOUNDATION-1408
@d3xter666
d3xter666 marked this pull request as ready for review December 4, 2026 11:38
@d3xter666
d3xter666 requested a review from a team December 4, 2026 11:38
@d3xter666
d3xter666 marked this pull request as draft December 4, 2026 11:43
@d3xter666
d3xter666 marked this pull request as ready for review December 4, 2026 11:50

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant