diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index a9e3e9a..e8fba11 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -11,9 +11,18 @@ jobs: steps: - name: Checkout Code run: | - # Auf dem Host nutzen wir einfach normales Git - rm -rf * # Sauber machen - git clone http://git.langhei.de/Entwicklung/xxx-sphere-web.git . + # Debug: Wer ist git.langhei.de? + cat /etc/hosts + ping -c 1 git.langhei.de || echo "Ping failed" + + # Sicherstellen, dass wir im richtigen Verzeichnis sind + rm -rf ./* || true + + # Versuch über die Domain + git clone http://git.langhei.de/Entwicklung/xxx-sphere-web.git . || \ + # FALLBACK: Versuch über die IP direkt, falls DNS im Container hakt + git clone http://192.168.178.93:3000/Entwicklung/xxx-sphere-web.git . + git config --global http.sslVerify false git checkout master