Skip to content

fix(pages): publish .well-known — the upload was stripping it - #105

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/publish-hidden-files
Sep 19, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
fix/publish-hidden-files

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

The canonical bundle was reaching _site and then being deleted on the way out.

actions/upload-pages-artifact defaults to include-hidden-files: false, and
its archiving step is a tar that carries --exclude=.[^/]*. That pattern
matches every top-level entry beginning with a dot, so .well-known/ was
stripped from the artifact after the overlay step had placed it correctly.

Evidence from the last run of pages.yml — the job's own output:

published tree:
_site
_site/.well-known
_site/.well-known/ai.txt
_site/.well-known/humans.txt
_site/.well-known/security.txt

...followed by a successful upload and a successful deploy, and then a 404 at
/.well-known/security.txt. The overlay is not at fault; the upload is.

include-hidden-files: true publishes dot-entries deliberately. .git and
.github remain excluded by the action regardless.

Confirmed by contrast: ubicity, the only repository in the estate that
hand-rolls its tar (for SHA-pinning reasons), is the only one serving
security.txt.

The canonical bundle was reaching `_site` and then being deleted on the way out.

`actions/upload-pages-artifact` defaults to `include-hidden-files: false`, and
its archiving step is a `tar` that carries `--exclude=.[^/]*`. That pattern
matches every top-level entry beginning with a dot, so `.well-known/` was
stripped from the artifact after the overlay step had placed it correctly.

Evidence from the last run of `pages.yml` — the job's own output:

```
published tree:
_site
_site/.well-known
_site/.well-known/ai.txt
_site/.well-known/humans.txt
_site/.well-known/security.txt
```

...followed by a successful upload and a successful deploy, and then a 404 at
`/.well-known/security.txt`. The overlay is not at fault; the upload is.

`include-hidden-files: true` publishes dot-entries deliberately. `.git` and
`.github` remain excluded by the action regardless.

Confirmed by contrast: `ubicity`, the only repository in the estate that
hand-rolls its `tar` (for SHA-pinning reasons), is the only one serving
`security.txt`.
@hyperpolymath
hyperpolymath merged commit 34a09db into main Sep 19, 2026
@hyperpolymath
hyperpolymath deleted the fix/publish-hidden-files branch September 19, 2026 08:30
@coderabbitai

coderabbitai Bot commented Sep 19, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 448ebaa2-1b59-4037-a2ec-fb94426d8977

📥 Commits

Reviewing files that changed from the base of the PR and between 09655dd and 8abfa3d.

📒 Files selected for processing (1)
  • .github/workflows/pages.yml
 ______________________________________________________
< CUDA: Carrot Utilization for Debugging Acceleration. >
 ------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant