Verificador añadido y docker-compose.yml modificado.
All checks were successful
Build and Deploy / remote-build-and-deploy (push) Successful in 11m51s

This commit is contained in:
2025-06-18 14:12:57 -03:00
parent f0f3c2b771
commit c07a4aa0f4

View File

@@ -22,7 +22,6 @@ jobs:
ssh-keyscan -H ${{ secrets.PROD_SERVER_HOST }} >> ~/.ssh/known_hosts
# 2. Conectarse al HOST y ejecutar el script.
# ¡¡LA CLAVE ESTÁ AQUÍ!! << EOF sin comillas, y variables remotas escapadas.
ssh ${{ secrets.PROD_SERVER_USER }}@${{ secrets.PROD_SERVER_HOST }} << EOF
set -e
@@ -65,6 +64,9 @@ jobs:
# Gitea reemplaza los secretos aquí. Es seguro.
export DB_SA_PASSWORD='${{ secrets.DB_SA_PASSWORD_SECRET }}'
export JWTSETTINGS__KEY= '${{ secrets.JWTSETTINGS__KEY }}'
echo "Verifying environment variables before deploy: JWT Key is set to '${JWTSETTINGS__KEY}'"
docker compose up -d
# --- PARTE 4: LIMPIEZA (EN EL HOST) ---