Enforce Events favicon everywhere and fix deploy pipeline failures.
Deploy Ladill Events / deploy (push) Successful in 30s

Add favicon partial to all standalone pages, regenerate the Events icon asset, and stop marking deploys failed when the nginx vhost step cannot sudo.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-07 11:56:27 +00:00
co-authored by Cursor
parent a9b2960893
commit 2c1c3cdd3e
10 changed files with 24 additions and 6 deletions
+7 -3
View File
@@ -92,10 +92,14 @@ jobs:
if [ ! -f "$NGINX_SCRIPT" ]; then
NGINX_SCRIPT="/var/www/ladill.com/current/deployment/setup-service-subdomain-nginx.sh"
fi
if [ -f "$NGINX_SCRIPT" ]; then
sudo bash "$NGINX_SCRIPT" events --app /var/www/ladill-events/current
else
if [ ! -f "$NGINX_SCRIPT" ]; then
echo "WARN: setup-service-subdomain-nginx.sh not found — configure events.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"
else
echo "WARN: nginx vhost step skipped (deploy user cannot sudo) — vhost must already be provisioned"
fi
- name: Cleanup