Unverified Commit 1fa8e3c5 authored by Sascha Marcel Schmidt's avatar Sascha Marcel Schmidt
Browse files

removes unnecessary known hosts stuff

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