Static hosting for published HTML artifacts, served by GitHub Pages from the
main branch root at https://mphinance.github.io/artifacts/.
/index.html auto-generated index of all artifacts, newest first
/a/<slug>/index.html one directory per published artifact
/publish.sh publish an HTML file and push it live
/_build_index.py regenerates /index.html from the /a/ directory
/.nojekyll tell Pages to serve files verbatim
./publish.sh path/to/file.html [slug]- With no
slug, one is derived from the filename (lowercased, hyphenated, extension stripped). - The file is copied to
a/<slug>/index.html, the index is regenerated, and the change is committed and pushed tomain. - Re-publishing the same slug overwrites it — same URL, new content.
- Prints the public URL:
https://mphinance.github.io/artifacts/a/<slug>/
python3 _build_index.pyScans a/*/index.html, reads each <title> (falling back to the slug), stamps
each with its last git commit date, and writes a minimal dark-themed
index.html.