diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea252d29ddb5b2315f9735c1002e9a156d924056..dcd511153ca1dd4a62da33fc86346682e4a6a19e 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