mirror of
https://github.com/bitbaum/sites.git
synced 2026-12-04 04:56:58 +01:00
Reads Loki's sites / site_versions / site_domains with a SELECT-only role and renders the published version with @bitbaum/sitekit's SiteDocument and the site's theme (siteThemeCss + self-hosted faces). Answers: - <slug>.orangecat.ch and verified own domains → the published version - sites.orangecat.ch/<site id>/… → the preview version, never indexed - /_sites/ask → Caddy's on-demand TLS check, falling back to hirnli's - localhost:<port>/ → the deploy's health probe A row that does not parse is a 404 and a log line. sitekit installs from the kits commit until 0.8.0 is on npm. Step 3 of loki ADR-0001 (the sites platform). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
463 B
YAML
18 lines
463 B
YAML
name: Deploy
|
|
|
|
# Push to main → deploy to bitbaum. All logic lives in one place:
|
|
# bitbaum/loki/.github/workflows/selfhost-deploy.yml (and, while GitHub
|
|
# Actions is off for the org, forge-ops' reconciler, which reads this file to
|
|
# know which app this repository deploys).
|
|
on:
|
|
workflow_dispatch: {}
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
uses: bitbaum/loki/.github/workflows/selfhost-deploy.yml@main
|
|
with:
|
|
app: sites
|
|
secrets: inherit
|