Cambiar variables GITEA_* a GIT_* para evitar conflicto con reservadas
All checks were successful
build-and-deploy / build (push) Successful in 11s
build-and-deploy / deploy (push) Successful in 3s

Las variables que empiezan con GITEA_ o GITHUB_ están prohibidas
en Gitea Actions por el patrón de validación. Renombradas a:
- GITEA_URL -> GIT_URL
- GITEA_DOMAIN -> GIT_DOMAIN
- GITEA_TOKEN -> GIT_TOKEN

Actualizados: index.ts, docker-compose.yml, workflow, .env.example
This commit is contained in:
2025-10-14 00:29:02 -06:00
parent 4311f54184
commit b25b52199e
4 changed files with 13 additions and 12 deletions

View File

@@ -4,8 +4,8 @@ import express from 'express';
import { z } from 'zod';
// Configuración de Gitea
const GITEA_URL = process.env.GITEA_URL || 'https://gitea.nucleoriofrio.com';
const GITEA_TOKEN = process.env.GITEA_TOKEN || '';
const GITEA_URL = process.env.GIT_URL || 'https://gitea.nucleoriofrio.com';
const GITEA_TOKEN = process.env.GIT_TOKEN || '';
const PORT = parseInt(process.env.PORT || '3000');
// Cliente HTTP para Gitea API