Add drone fix 1/?: set up ssh-agent
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danila Fedorin 2020-02-29 21:52:01 -08:00
parent f6c1079bda
commit 277427af57

View File

@ -12,6 +12,7 @@ steps:
- name: upload-live
image: jguyomard/hugo-builder
commands:
- eval `ssh-agent -s`
- echo "$CUSTOM_KEY" | ssh-add -
- mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config