From 9c21d5d16d0ba9eb4279d8dea2bc0427dd66b9a1 Mon Sep 17 00:00:00 2001 From: Millian Poquet <millian.poquet@inria.fr> Date: Mon, 27 May 2019 18:25:49 +0200 Subject: [PATCH] [ci] update ssh-add command --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea252d2..dcd5111 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,7 +71,7 @@ deploy_coverage: # Pushes Batsim's code doc (doxygen) onto the gforge website. # SSH setup (do NOT run these commands on your machine) - eval $(ssh-agent -s) - - ssh-add <(echo "$SSH_PRIVATE_KEY") + - echo "$SSH_PRIVATE_KEY" | tr -d ' ' | base64 --decode | ssh-add - - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" >> ~/.ssh/config' # Finally push the code documentation on the gforge website -- GitLab