diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0e69454..f74592e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,17 +9,14 @@ jobs: runs-on: ubuntu-latest container: image: node:20-bullseye - # IMPORTANTE: Conectar a la red interna - options: --network gitea_net + options: >- + --add-host gitea:192.168.1.100 + --add-host git.natxocc.com:192.168.1.100 steps: - - name: Configurar Túnel Interno + - name: Forzar resolución y puerto run: | - # REDIRECCIÓN MAESTRA: - # Cualquier intento de ir a la IP externa puerto 3333 - # se redirige al nombre interno 'gitea' puerto 3000 - git config --global url."http://gitea:3000/".insteadOf "http://192.168.1.100:3333/" - - # Configuraciones de seguridad necesarias + # Si Gitea pide el puerto 3000, lo mandamos al 3333 que es el que tienes abierto + git config --global url."http://192.168.1.100:3333/".insteadOf "http://gitea:3000/" git config --global --add safe.directory /workspace/natxocc/sigpro git config --global http.sslVerify false