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

This commit is contained in:
Evelyn Chen
2026-08-29 21:22:04 +00:00
parent f1f780f5a3
commit 7667ae540e
15 changed files with 1040 additions and 188 deletions
+9
View File
@@ -0,0 +1,9 @@
domain: example.fritzlab.net
type: static
content_dir: html
aliases:
- www.example.fritzlab.net
middlewares:
- response-headers
excludes:
- media/*
+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