Test / contract (pull_request) Successful in 7s
Authored-By: @architect <architect@fritzlab.net>
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
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
|
|
cors_origins: ['*']
|
|
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
|