Skip to content

Fix documentation publishing workflow - #4694

Merged
jack-edmonds-dd merged 1 commit into
masterfrom
nogates/investigate-actions-failure
Oct 2, 2026
Merged

jack-edmonds-dd merged 1 commit into
masterfrom
nogates/investigate-actions-failure

Conversation

@nogates

@nogates nogates commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • minify generated package and source HTML before publishing
  • publish documentation through GitHub Pages artifacts instead of committing the output to gh-pages
  • restrict the build to read-only repository access and grant Pages permissions only to the deployment job

This fixes the documentation failure exposed by #4668, where the generated datadogV2/index.html exceeded GitHub’s 100 MiB Git blob limit.

Verification

  • pre-commit run --files .github/workflows/docs.yml
  • actionlint .github/workflows/docs.yml
  • reproduced the Publish stable Experiments v2 APIs #4668 merge build: the largest page is 103,436,024 bytes after minification and the complete Pages artifact is approximately 293 MiB

Rollout note

After this merges, change Settings → Pages → Build and deployment → Source from the legacy gh-pages branch to GitHub Actions before rerunning the documentation deployment.

@nogates
nogates requested review from a team as code owners October 1, 2026 14:06
@nogates nogates added the changelog/no-changelog Changes don't appear in changelog label Oct 1, 2026
@jack-edmonds-dd
jack-edmonds-dd merged commit 8eee860 into master Oct 2, 2026
30 of 31 checks passed
@jack-edmonds-dd
jack-edmonds-dd deleted the nogates/investigate-actions-failure branch October 2, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog Changes don't appear in changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants