Run platform DNS sync after woo-manager deploy.
Deploy Ladill Woo Manager / deploy (push) Successful in 1m42s

Ensures woo.ladill.com A record is provisioned when the app ships before monolith deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-06 23:24:40 +00:00
co-authored by Cursor
parent a70f342a0c
commit 2a79f0fcca
+11
View File
@@ -102,6 +102,17 @@ jobs:
echo "WARN: nginx vhost step skipped (deploy user cannot sudo) — vhost must already be provisioned"
fi
- name: Sync DNS for woo.ladill.com
shell: bash {0}
run: |
set -Eeuo pipefail
PLATFORM="/var/www/ladill.com/current"
if [ ! -f "$PLATFORM/artisan" ]; then
echo "WARN: platform artisan not found — run dns:sync-subdomains after monolith deploy"
exit 0
fi
(cd "$PLATFORM" && php artisan dns:sync-subdomains)
- name: Cleanup
if: always()
shell: bash {0}