diff --git a/scripts/deploy-server.sh b/scripts/deploy-server.sh index e3a9fa2..b4ed6bf 100755 --- a/scripts/deploy-server.sh +++ b/scripts/deploy-server.sh @@ -25,7 +25,7 @@ printf "==================================\n\n" # ── Step 1: Permissions ─────────────────────────────────────────────────────── printf "📋 Step 1: Fixing file permissions...\n" -printf "--------------------------------------\n" +echo "--------------------------------------" chown -R www-data:posterg /var/www/posterg/ ok "Ownership: www-data:posterg" @@ -50,7 +50,7 @@ ok "Cache dirs: created and owned by www-data:posterg" # ── Step 2: Nginx config ────────────────────────────────────────────────────── printf "\n📋 Step 2: Deploying nginx configuration...\n" -printf "--------------------------------------------\n" +echo "--------------------------------------------" if [ ! -f "/tmp/posterg.conf" ]; then err "/tmp/posterg.conf not found — run: just deploy-nginx" @@ -73,7 +73,7 @@ fi # ── Step 3: Validate ────────────────────────────────────────────────────────── printf "\n📋 Step 3: Testing nginx configuration...\n" -printf "------------------------------------------\n" +echo "------------------------------------------" if nginx -t 2>&1; then ok "Nginx configuration is valid"