fix: deshabilitado deploy-webhook.php (borraba el docroot en cada push)
This commit is contained in:
+4
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user