removes unnecessary known hosts stuff

parent 6ceeae15
Pipeline #91 passed with stages
in 1 minute and 45 seconds
......@@ -27,11 +27,9 @@ build:
.deploy-template: &deploy_template
stage: deploy
script:
- apk add openssh-client --update
- apk add openssh-client
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add -
- mkdir -p $HOME/.ssh
- echo "$KNOWN_HOSTS" >> $HOME/.ssh/known_hosts
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME}
when: manual
......
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