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:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
run: |
|
run: |
|
||||||
# Auf dem Host nutzen wir einfach normales Git
|
# Debug: Wer ist git.langhei.de?
|
||||||
rm -rf * # Sauber machen
|
cat /etc/hosts
|
||||||
git clone http://git.langhei.de/Entwicklung/xxx-sphere-web.git .
|
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 config --global http.sslVerify false
|
||||||
git checkout master
|
git checkout master
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user