MAINT: Phase 1 - Add HTML archives to GitHub release assets#662
Merged
Conversation
Implements Phase 1 from issue #661: HTML archive backup on releases. Changes: - Add step to create compressed HTML archive after build - Generate SHA256 checksum for integrity verification - Create metadata manifest with build information - Upload archive, checksum, and manifest to GitHub releases Release assets created on each publish-* tag: - lecture-python-html-{tag}.tar.gz - Full HTML site archive - html-checksum.txt - SHA256 verification file - html-manifest.json - Build metadata (tag, commit, size, file count) This establishes backup infrastructure before gh-pages history cleanup and provides historical restore points for all future deployments.
|
📖 Netlify Preview Ready! Preview URL: https://pr-662--sunny-cactus-210e3e.netlify.app (97909d8) |
This was referenced Oct 30, 2025
Merged
Merged
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
Implements Phase 1 from issue #661: HTML archive backup on releases.
Changes
This PR adds steps to the
publish.ymlworkflow to create and upload HTML archives as GitHub release assets:_build/html/into a.tar.gzarchive after the HTML buildhtml-checksum.txt)html-manifest.json)softprops/action-gh-release@v1Release Assets Created
Each
publish-*tag will now include:lecture-python-html-{tag}.tar.gz- Full HTML site archive (~200-300 MB)html-checksum.txt- SHA256 verification filehtml-manifest.json- Build metadata (tag, commit, timestamp, size, file count)Key Features
_build/html/directory (gh-pages deployment unaffected)bodyoverride)Testing Plan
After merge, test with a
publish-test-*tag to verify:sha256sum -c html-checksum.txtRelated
gh-pagesto orphan (no history) #661