Skip to content

fix(pages): include hidden files so .well-known is deployed - #34

Merged
cevheri merged 1 commit into
mainfrom
fix/pages-serve-well-known
Jul 29, 2026
Merged

fix(pages): include hidden files so .well-known is deployed#34
cevheri merged 1 commit into
mainfrom
fix/pages-serve-well-known

Conversation

@cevheri

@cevheri cevheri commented Jul 29, 2026

Copy link
Copy Markdown
Member

actions/upload-pages-artifact tars ./dist with --exclude=.[^/]* unless include-hidden-files is set, so public/.well-known/ never reached GitHub Pages. security.txt has been returning 404 in production since it was added, which also broke the Canonical field it declares.

Changes:

  • deploy.yml: set include-hidden-files: true on the upload step.
  • Add public/.well-known/org.flathub.VerifiedApps.txt, the domain verification file requested on the org.libredb.Studio Flathub submission (Add org.libredb.Studio flathub/flathub#9538). Lines starting with # are ignored by Flathub's parser; app tokens are appended once Flathub issues them.

Verified locally: bun run gate clean, bun run build puts both files in dist/.well-known/.

Note: deploy.yml only runs on release: published or manual dispatch, so this needs a workflow_dispatch run after merge to reach production.

The deploy workflow's upload-pages-artifact step tars ./dist with --exclude=.[^/]* unless include-hidden-files is set, so public/.well-known never reached GitHub Pages. security.txt has been returning 404 in production since it was added, which also broke its own Canonical field.

Also adds the Flathub website verification file requested on the org.libredb.Studio submission (flathub/flathub#9538). Tokens are appended once Flathub issues them.
@cevheri
cevheri merged commit 3991422 into main Jul 29, 2026
4 checks passed
@cevheri
cevheri deleted the fix/pages-serve-well-known branch July 29, 2026 00:44
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