Register dta_blog for node-static deploy (closes #29)
Sync runner checkout / sync (pull_request) Successful in 7s
Sync runner checkout / sync (pull_request) Successful in 7s
Catalog + host_apps on all webservers (prod 8086 / beta 8087) with webroots
under /var/www/{env}.blog.realpath.app/html. Nginx serves the SSG 404 page
instead of SPA index fallback.
This commit is contained in:
@@ -80,6 +80,15 @@ app_catalog:
|
||||
webroot_pattern: "/var/www/{env}.realpath.app/html"
|
||||
# deploy runs `npm ci` then `npm run build:<env>`; that script writes to
|
||||
# {{ web_static_root }}/<env>_dta_webapp (beta/prod), served by web-static.
|
||||
dta_blog:
|
||||
type: node-static
|
||||
repo: "{{ git_base_url }}/Ditch_The_Agent/dta_blog.git"
|
||||
default_branch: main
|
||||
# Python SSG (stdlib). package.json build:<env> copies dist/ to this webroot
|
||||
# so the existing node-static path (`npm ci` then `npm run build:<env>`) works.
|
||||
webroot_pattern: "/var/www/{env}.blog.realpath.app/html"
|
||||
# Real 404 page (not SPA index fallback). See roles/web-static nginx.conf.j2.
|
||||
error_page_404: /404.html
|
||||
scha:
|
||||
type: django
|
||||
repo: "{{ git_base_url }}/ai_ml_operations/scha.git"
|
||||
|
||||
Reference in New Issue
Block a user