Run platform DNS sync after woo-manager deploy.
Deploy Ladill Woo Manager / deploy (push) Successful in 1m42s
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user