Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.12 KB

README.md

File metadata and controls

16 lines (12 loc) · 1.12 KB

Download page source

This directory is the source for the release-manifest-driven static download page. manifest.json is generated for a specific published release and is intentionally not tracked here, so opening index.html directly from a checkout shows an unavailable-manifest state.

To build a usable page locally, download the manifest for a published release and render it:

release_tag=v1.2.3
mkdir -p /tmp/webcodex-release
gh release download "$release_tag" --repo yyjeqhc/webcodex --pattern manifest.json --dir /tmp/webcodex-release
python3 scripts/build_download_page.py \
  --manifest /tmp/webcodex-release/manifest.json \
  --output-dir /tmp/webcodex-download-page

The download-page workflow performs the same build after a release is published, or on a manual run with a tag. It uploads the result as the download-page-<tag> GitHub Actions artifact. The workflow does not publish or deploy that artifact as a website; published release downloads remain available from GitHub Releases.