Skip to content
Snippets Groups Projects
Commit 9c21d5d1 authored by Millian Poquet's avatar Millian Poquet
Browse files

[ci] update ssh-add command

parent ec604af5
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ deploy_coverage: ...@@ -71,7 +71,7 @@ deploy_coverage:
# Pushes Batsim's code doc (doxygen) onto the gforge website. # Pushes Batsim's code doc (doxygen) onto the gforge website.
# SSH setup (do NOT run these commands on your machine) # SSH setup (do NOT run these commands on your machine)
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY") - echo "$SSH_PRIVATE_KEY" | tr -d ' ' | base64 --decode | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" >> ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" >> ~/.ssh/config'
# Finally push the code documentation on the gforge website # Finally push the code documentation on the gforge website
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment