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

This commit is contained in:
Danila Fedorin 2020-02-29 21:52:01 -08:00
parent f6c1079bda
commit 277427af57
1 changed files with 1 additions and 0 deletions

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