Release automatically when the version on main changes

A new auto-release workflow runs the tests, tags v<version>, publishes a
release with that version's changelog section and starts the deploy from
the tag. It skips versions that are already tagged and refuses older
versions or ones without notes.
This commit is contained in:
Frederic Jung 2026-10-24 21:54:52 +02:00
parent 37a83c2b3f
commit c59be2d16d
No known key found for this signature in database
3 changed files with 92 additions and 9 deletions

View file

@ -2,8 +2,9 @@ name: Release to GitHub Pages
# The live site at https://seriesoftub.es only ever serves a published release.
# Pushes to main run CI but never deploy. To ship: bump "version" in
# package.json, add a CHANGELOG entry, merge, then publish a GitHub release
# tagged v<version>.
# package.json and date its CHANGELOG section; auto-release.yml then tags,
# publishes the release and starts this workflow from the tag. Publishing a
# release by hand works too.
on:
release:
# "released" also fires when a pre-release is promoted to a full release.