From 320e100c116fe7dd056a6a3340c02c5429384d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Berthaud-M=C3=BCller?= Date: Mon, 7 Jun 2021 18:43:00 +0200 Subject: [PATCH] fix path --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dff7ff0..b31a81f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,10 +5,10 @@ before_script: #- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - - mkdir -p ~/.ssh - - chmod 700 ~/.ssh + - mkdir -p /root/.ssh + - chmod 700 /root/.ssh - echo "$SSH_KNOWN_HOSTS" >> /root/.ssh/known_hosts - - chmod 644 ~/.ssh/known_hosts + - chmod 644 /root/.ssh/known_hosts ping: script: