Actualizar .github/workflows/sync-to-github.yml
Some checks failed
Sync selected files to GitHub / sync (push) Failing after 1s

This commit is contained in:
2026-04-26 18:30:50 +02:00
parent 2f1cfae0b2
commit ccdbeb1b16

View File

@@ -9,18 +9,12 @@ jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Get Gitea container IP
- name: Clone source from local bare repo
run: |
CONTAINER_NAME=gitea
IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $CONTAINER_NAME)
echo "GITEA_IP=$IP" >> $GITHUB_ENV
echo "Gitea IP: $IP"
- name: Clone source from Gitea (via internal network)
run: |
git clone http://${{ env.GITEA_IP }}:3000/natxocc/sigpro.git source
git clone --local /repo.git source
cd source
git checkout main
ls -la
- name: Clone destination (GitHub)
run: |