Skip to content
Snippets Groups Projects
Commit eb6e7e8b authored by Fabien Zucchet's avatar Fabien Zucchet
Browse files

YOlo

parent 8017a5e7
No related branches found
No related tags found
No related merge requests found
Pipeline #31802 failed
......@@ -82,7 +82,7 @@ back-prod-deploy:
script:
- "which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )"
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- ssh-add <(echo -n "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
......@@ -110,7 +110,7 @@ front-prod-deploy:
script:
- "which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )"
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- ssh-add <(echo -n "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment