From c37a689f2b843ce12a58f4654d073b4f917ae480 Mon Sep 17 00:00:00 2001 From: eric Liu Date: Mon, 18 Sep 2023 03:43:58 +0000 Subject: [PATCH] Update .drone.yml --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) 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