Standardize deployment env and deployer handling

This commit is contained in:
defiQUG
2026-04-22 14:47:28 -07:00
parent 768168de5e
commit c3d4c786fa
51 changed files with 424 additions and 621 deletions

View File

@@ -29,18 +29,9 @@ echo "Phase 2 Complete Deployment from Proxy Host"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo ""
# Check if .env exists
if [ ! -f .env ]; then
echo "❌ Error: .env file not found"
echo "Please ensure .env is in $PROJECT_ROOT"
exit 1
fi
source .env
# Verify SSH key
if [ -z "$SSH_PRIVATE_KEY_PATH" ]; then
echo "❌ Error: SSH_PRIVATE_KEY_PATH not set in .env"
echo "ERROR: SSH_PRIVATE_KEY_PATH not available. Set it in smom-dbis-138/.env or repo .env." >&2
exit 1
fi