fix: ocultar testimonios, horario 10-18, quitar precio técnico, fix toggle inglés
- Ocultar sección de testimonios en la home (Working on it hasta tener contenido real) - Cambiar horario comercial de 9-18 a 10-18 hs UYT - Quitar 'Técnico: USD X' y 'X USD/MB' de la web (Mauri pidió sacarlo) - Crear /en/index.astro que faltaba — el toggle inglés daba 403 porque no había index.html en /en/
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# API endpoints — deny GET, allow POST
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_METHOD} !POST [NC]
|
||||
RewriteRule .* - [F,L]
|
||||
</IfModule>
|
||||
@@ -3,7 +3,7 @@
|
||||
* Gitea webhook → rebuild + redeploy
|
||||
*
|
||||
* Triggereado por push a branch main en mauri/hostingdelsur.net
|
||||
* Ejecuta: git pull, npm install, npm run build, rsync dist a public_html
|
||||
* Ejecuta: git pull, npm install, npm run build, mirror dist → public_html
|
||||
*
|
||||
* Logs: /home/hostingd/deploy.log
|
||||
*/
|
||||
@@ -38,12 +38,20 @@ $logLine = "[{$timestamp}] Deploy started for {$repoName} @ {$ref}\n";
|
||||
$projectDir = '/home/hostingd/hostingdelsur.net';
|
||||
$distDir = $projectDir . '/dist';
|
||||
$publicHtml = '/home/hostingd/public_html';
|
||||
$projectSrc = '/root/opencode/development/hostingdelsur.net';
|
||||
$srcForms = $projectSrc . '/src/forms';
|
||||
|
||||
$commands = [
|
||||
"cd {$projectDir} && git pull origin main 2>&1",
|
||||
"cd {$projectDir} && npm install --production=false 2>&1",
|
||||
"cd {$projectDir} && npm run build 2>&1",
|
||||
"rsync -a --delete --exclude='mwp' --exclude='.well-known' --exclude='.smtp-credentials.json' --exclude='api' --exclude='.htaccess' {$distDir}/ {$publicHtml}/ 2>&1",
|
||||
"cp {$srcForms}/contact.php {$distDir}/api/contact.php 2>&1",
|
||||
"cp {$srcForms}/deploy-webhook.php {$distDir}/api/deploy-webhook.php 2>&1",
|
||||
"cp {$srcForms}/api-htaccess {$distDir}/api/.htaccess 2>&1",
|
||||
"rm -rf {$publicHtml}/* {$publicHtml}/.[!.]* 2>&1; mkdir -p {$publicHtml}",
|
||||
"cp -r {$distDir}/* {$distDir}/.[!.]* {$publicHtml}/ 2>&1",
|
||||
"rm -rf {$publicHtml}/mwp 2>&1 || true",
|
||||
"rm -f {$publicHtml}/.smtp-credentials.json 2>&1 || true",
|
||||
];
|
||||
|
||||
foreach ($commands as $cmd) {
|
||||
|
||||
Reference in New Issue
Block a user