Skip to content

ci(release): sync chart README to the gh-pages landing page - #17

Merged
Ruxandra Fediuc (ruxandrafed) merged 1 commit into
mainfrom
fix/publish-chart-readme
Jul 17, 2026
Merged

ci(release): sync chart README to the gh-pages landing page#17
Ruxandra Fediuc (ruxandrafed) merged 1 commit into
mainfrom
fix/publish-chart-readme

Conversation

@ruxandrafed

Copy link
Copy Markdown
Contributor

Problem

The landing page at https://socketdev-demo.github.io/socket-firewall-helm/ renders README.md from the gh-pages branch. The release workflow publishes the chart tarball and re-indexes index.yaml, but never updates that README.md — so the landing page is a frozen snapshot that drifts from the chart on every release.

Observed: the published values table is missing recently-added values (e.g. metrics.* from #14 / 0.7.0, and socket.bearerToken from #16 / 0.8.0). The chart's own README (inside the .tgz, and on helm show readme) is correct — only the landing page is stale.

Fix

  • cp helm/README.md pages/README.md before re-index/commit → the landing page always reflects the current chart README.
  • Add helm/README.md to the workflow paths trigger → doc-only edits publish without needing a Chart.yaml version bump.

Next publish overwrites the stale landing page with the current README (bearer + metrics rows included) and it never drifts again. Tracks CE-238.

Notes

  • Purely additive to the existing cross-repo publish step; no change to how tarballs or index.yaml are produced.
  • A couple of relative links in the chart README (e.g. [values.yaml](values.yaml)) resolve inside the chart but not at the gh-pages root — cosmetic; can follow up if we want absolute links on the landing page.

The release workflow published the chart tarball and re-indexed gh-pages,
but never updated README.md on the gh-pages branch. GitHub Pages renders
that README as the landing page, so its values table was a frozen snapshot
that drifted from the chart every release (e.g. missing the metrics and
bearer-token values). Copy helm/README.md onto the gh-pages root on each
publish, and also trigger on helm/README.md changes so doc-only edits
propagate without a version bump. Tracks CE-238.
@ruxandrafed
Ruxandra Fediuc (ruxandrafed) merged commit d6e2e4f into main Jul 17, 2026
5 checks passed
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.

2 participants