Repository navigation
feat(pages): publish the canonical www bundle - #118
Merged
Merged
Conversation
The repo carried .well-known/ at its root, but the Pages artifact is _site, built from site/ by casket-ssg. The root directory is therefore never published, so https://hyperpolymath.github.io/ubicity/.well-known/security.txt has always returned 404. Two changes: * .well-known/ -> www/.well-known/, the canonical location per #53. Pure renames, content unchanged. * An additive overlay step in casket-pages.yml, inserted between the site build and the archive step, which copies www/public/ to the served root and www/.well-known/ to _site/.well-known/. Everything else under www/ (dns/, policies/, profiles/, runbooks/, errors/) stays unpublished, so only those two subtrees are copied rather than all of www/. The step is deliberately additive — the generated site is left intact and the existing homepage is unaffected. This repo hand-rolls its artifact because upload-pages-artifact nests an unpinned action that the org SHA-pinning rule rejects, so the overlay is placed before the tar rather than before an upload.
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
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.



The root
.well-known/was never published — the Pages artifact is_site, built fromsite/by casket-ssg — so/.well-known/security.txthas always 404ed..well-known/→www/.well-known/(pure renames, per licence(#7): PMPL-1.0 -> PMPL-1.0-or-later (owner carve-out, SPDX-only) #53)casket-pages.ymlbetween the site build and the archive step:www/public/→ served root,www/.well-known/→_site/.well-known/. Otherwww/subtrees (dns/,policies/,profiles/,runbooks/) stay unpublished.The overlay is additive, so the existing homepage is unaffected.