Commit af6d0b04 authored by Daniel Pérez Fernández's avatar Daniel Pérez Fernández 🕶
Browse files

Other minor fix

parent e338cb90
Pipeline #92856591 failed with stage
in 31 seconds
...@@ -16,7 +16,8 @@ deploy: ...@@ -16,7 +16,8 @@ deploy:
- apk add --update openssh bash openssl gettext - apk add --update openssh bash openssl gettext
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- mv "$DEPLOY_KEY" ~/.ssh/id_rsa - echo "$DEPLOY_KEY" > MyKey.pub
- mv MyKey.pub ~/.ssh/id_rsa
- chmod 700 ~/.ssh/id_rsa - chmod 700 ~/.ssh/id_rsa
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh-keyscan -H domain.com >> ~/.ssh/known_hosts - ssh-keyscan -H domain.com >> ~/.ssh/known_hosts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment