From 446ee7e810ce5a9166c67c6fa233e1f882eb8012 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 1 Apr 2026 17:04:38 +0200 Subject: [PATCH] Workflow angepasst --- .gitea/workflows/deploy.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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