diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 552bbf8..6e93744 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -64,7 +64,9 @@ jobs: cd /opt/gestion-integral # Gitea reemplaza los secretos aquĆ­. Es seguro. export DB_SA_PASSWORD='${{ secrets.DB_SA_PASSWORD_SECRET }}' - export JWT_KEY='${{ secrets.JWT_KEY_SECRET }}' + export JWTSETTINGS__KEY_SECRET= ${{ secrets.JWTSETTINGS__KEY }} + export JWTSETTINGS__ISSUER_SECRET= ${{ secrets.JWTSETTINGS__ISSUER }} + export JWTSETTINGS__AUDIENCE_SECRET= ${{ secrets.JWTSETTINGS__AUDIENCE }} docker compose up -d # --- PARTE 4: LIMPIEZA (EN EL HOST) --- diff --git a/Backend/GestionIntegral.Api/appsettings.json b/Backend/GestionIntegral.Api/appsettings.json index 3e37384..3a314ee 100644 --- a/Backend/GestionIntegral.Api/appsettings.json +++ b/Backend/GestionIntegral.Api/appsettings.json @@ -5,7 +5,7 @@ "Microsoft.AspNetCore": "Warning" } }, - "Jwt": { + "JwtSettings": { "Key": "", "Issuer": "", "Audience": "",