Enforce Events favicon everywhere and fix deploy pipeline failures.
Deploy Ladill Events / deploy (push) Successful in 30s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user