Fix: more logs2
This commit is contained in:
parent
8f46ca8762
commit
5d34d89df5
|
|
@ -28,7 +28,7 @@ deploy_to_k3s:
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
# Wir nutzen die Variable SSH_PRIVATE_KEY, die wir in GitLab hinterlegt haben
|
# Wir nutzen die Variable SSH_PRIVATE_KEY, die wir in GitLab hinterlegt haben
|
||||||
- if [ -z "$SSH_PRIVATE_KEY" ]; then echo "FEHLER - Variable SSH_PRIVATE_KEY ist leer!"; exit 1; fi
|
- if [ -z "$SSH_PRIVATE_KEY" ]; then echo "FEHLER - Variable SSH_PRIVATE_KEY ist leer!"; exit 1; fi
|
||||||
- cp $SSH_PRIVATE_KEY ~/.ssh/id_ed25519
|
- cp "$SSH_PRIVATE_KEY" ~/.ssh/id_ed25519
|
||||||
- chmod 600 ~/.ssh/id_ed25519
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
# Verhindert die Abfrage "Are you sure you want to continue connecting"
|
# Verhindert die Abfrage "Are you sure you want to continue connecting"
|
||||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue