Commit 711dd950 authored by Sascha Marcel Schmidt's avatar Sascha Marcel Schmidt

adds known hosts

parent eb96d8a4
Pipeline #87 failed with stages
in 14 seconds
......@@ -30,6 +30,7 @@ deploy-master:
- apk add openssh-client --update
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add -
- echo "$SSH_KNOWN_HOSTS" >> $HOME/.ssh/known_hosts
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy master
environment:
name: master
......@@ -44,6 +45,7 @@ deploy-develop:
- apk add openssh-client --update
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add -
- echo "$SSH_KNOWN_HOSTS" >> $HOME/.ssh/known_hosts
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy develop
environment:
name: develop
......
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