diff --git a/.drone.yml b/.drone.yml index 91c2212..ebc8aa4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,6 +13,8 @@ steps: commands: - mkdir -p $HOME/.ssh - echo "$SSH_KEY" > $HOME/.ssh/id_rsa + - touch $HOME/.ssh/known_hosts + - ssh-keyscan -H git@your.gitserver.com > $HOME/.ssh/known_hosts - git clone --branch gitea-pages git@git.ericxliu.me:eric/ericxliu-me.git /output - name: build image: plugins/hugo