ci(docs): optimize doc build with caching and parallel generation#1373
Merged
hkad98 merged 2 commits intogooddata:masterfrom Feb 27, 2026
Merged
ci(docs): optimize doc build with caching and parallel generation#1373hkad98 merged 2 commits intogooddata:masterfrom
hkad98 merged 2 commits intogooddata:masterfrom
Conversation
Add Go module and Hugo resource caching to both hugo-build composite actions. Optimize Dockerfile with BuildKit cache mounts and better layer ordering. Add new scripts for parallel versioned doc generation (discover-versions, generate-single-version, assemble-versions) — not yet referenced by any workflow. jira: trivial risk: nonprod
Add netlify-deploy-v2.yaml that runs the new parallel matrix architecture (discover → generate per-version → assemble + Hugo build) but deploys as a Netlify draft (no --prod flag). This allows validating the new build pipeline side-by-side with the existing production workflow without any risk to the live site. jira: trivial risk: nonprod
no23reason
approved these changes
Feb 27, 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.
Summary
hugo-build-actionandhugo-build-versioned-actioncomposite actions to speed up doc buildsdocs/Dockerfilewith BuildKit cache mounts and better layer ordering so local dev rebuilds are fasterdiscover-versions.sh,generate-single-version.sh,assemble-versions.sh) — extracted from the monolithicgenerate.shto enableper-version matrix jobs
netlify-deploy-v2.yamldraft workflow that runs the new parallel architecture without affecting production — deploys to a Netlify draft URL for side-by-side validationRollout plan
--prod), so the live site isunaffected.
netlify-deploy.yamlto the parallel architecture with--prodand delete the v2 file.git revertthe single swap commit restores the old workflow instantly.