fix: deshabilitado deploy-webhook.php (borraba el docroot en cada push)

This commit is contained in:
Mauricio López Coria
2026-08-05 13:00:47 -03:00
parent 955243fd4a
commit b8818a78de
2 changed files with 24 additions and 76 deletions
+4 -1
View File
@@ -22,8 +22,11 @@ fi
# Copy PHP endpoints into dist (they don't go through Astro)
mkdir -p "$DIST/api"
cp "$REPO/src/forms/contact.php" "$DIST/api/contact.php"
cp "$REPO/src/forms/deploy-webhook.php" "$DIST/api/deploy-webhook.php"
cp "$REPO/src/forms/api-htaccess" "$DIST/api/.htaccess"
# deploy-webhook.php NO se deploya (deshabilitado 2026-08-05).
# Hacia `rm -rf` del docroot en cada push y borro mee/ cuatro veces.
# Ver src/forms/deploy-webhook.php para el detalle.
rm -f "$DIST/api/deploy-webhook.php"
# Copy root .htaccess (HTTPS forzado, security headers)
cp "$REPO/scripts/htaccess.conf" "$DIST/.htaccess"