feat(site-publish): add split-surface publishing
Test / contract (pull_request) Successful in 6s

Authored-By: OpenAI (GPT-5) <noreply@openai.com>
This commit is contained in:
Evelyn Chen
2026-08-29 21:39:50 +00:00
parent f1f780f5a3
commit 95e4eef250
15 changed files with 1386 additions and 190 deletions
+42
View File
@@ -0,0 +1,42 @@
domain: baseline.fritzlab.net
artifacts:
- name: portal
type: static
content_dir: portal/build
publish:
bucket: baseline-portal
credentials:
access_key_env: PORTAL_S3_ACCESS_KEY
secret_key_env: PORTAL_S3_SECRET_KEY
cache:
rules:
- path: /
cache_control: private, no-store
- name: distributions
type: static
content_dir: dist
publish:
bucket: baseline-dist
credentials:
access_key_env: DIST_S3_ACCESS_KEY
secret_key_env: DIST_S3_SECRET_KEY
cache:
rules:
- path: /
cache_control: public, max-age=0, must-revalidate
- path: releases
cache_control: public, max-age=31536000, immutable
- path: channels
cache_control: public, max-age=0, must-revalidate
routes:
- name: portal
path: /
artifact: portal
access:
mode: protected
middleware: authentik-forwardauth
- name: distributions
path: /dist
artifact: distributions
access:
mode: public