Workflow angepasst
Some checks failed
Host-Based Deploy (Java 21 Fix) / build-and-run (push) Failing after 1s
Some checks failed
Host-Based Deploy (Java 21 Fix) / build-and-run (push) Failing after 1s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user