Wire Mini deploy workflow and launcher for extraction.
Deploy Ladill Mini / deploy (push) Failing after 1m24s

Point Gitea Actions at ladill-mini paths/nginx vhost and add Mini to the shared app launcher config.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-07 18:49:27 +00:00
co-authored by Cursor
parent db66d99895
commit df70611345
2 changed files with 10 additions and 9 deletions
+9 -9
View File
@@ -1,4 +1,4 @@
name: Deploy Ladill Events
name: Deploy Ladill Mini
on:
push:
@@ -10,7 +10,7 @@ permissions:
contents: read
concurrency:
group: deploy-events
group: deploy-mini
cancel-in-progress: true
jobs:
@@ -19,9 +19,9 @@ jobs:
env:
NODE_ROOT: /tmp/ladill-node-22-r1
NODE_VERSION: "22.14.0"
RELEASE_ARCHIVE: /tmp/ladill-events-release-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tgz
WORKSPACE: /tmp/${{ gitea.repository_owner }}-events-${{ gitea.run_id }}-${{ gitea.run_attempt }}
LADILL_APP_ROOT: /var/www/ladill-events
RELEASE_ARCHIVE: /tmp/ladill-mini-release-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tgz
WORKSPACE: /tmp/${{ gitea.repository_owner }}-mini-${{ gitea.run_id }}-${{ gitea.run_attempt }}
LADILL_APP_ROOT: /var/www/ladill-mini
steps:
- name: Checkout
shell: bash {0}
@@ -78,7 +78,7 @@ jobs:
- name: Deploy release
shell: bash {0}
env:
LADILL_RELEASE_ARCHIVE: /tmp/ladill-events-release-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tgz
LADILL_RELEASE_ARCHIVE: /tmp/ladill-mini-release-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tgz
run: |
set -Eeuo pipefail
: "${LADILL_APP_ROOT:?Set LADILL_APP_ROOT}"
@@ -93,11 +93,11 @@ jobs:
NGINX_SCRIPT="/var/www/ladill.com/current/deployment/setup-service-subdomain-nginx.sh"
fi
if [ ! -f "$NGINX_SCRIPT" ]; then
echo "WARN: setup-service-subdomain-nginx.sh not found — configure events.ladill.com vhost manually"
echo "WARN: setup-service-subdomain-nginx.sh not found — configure mini.ladill.com vhost manually"
exit 0
fi
if sudo -n bash "$NGINX_SCRIPT" events --app /var/www/ladill-events/current; then
echo "nginx vhost updated for events.ladill.com"
if sudo -n bash "$NGINX_SCRIPT" mini --app /var/www/ladill-mini/current; then
echo "nginx vhost updated for mini.ladill.com"
else
echo "WARN: nginx vhost step skipped (deploy user cannot sudo) — vhost must already be provisioned"
fi