From e7155916c1506e81dc0c494eed683f84239c7ec1 Mon Sep 17 00:00:00 2001 From: eric Liu Date: Mon, 18 Sep 2023 03:47:50 +0000 Subject: [PATCH] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7f9e898..e1bc46c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ steps: commands: - mkdir -p $HOME/.ssh - echo "$SSH_KEY" > $HOME/.ssh/id_rsa - - touch $HOME/.ssh/known_hosts + - chmod 400 $HOME/.ssh/id_rsa - ssh-keyscan -H git.ericxliu.me > $HOME/.ssh/known_hosts - git clone --branch gitea-pages git@git.ericxliu.me:eric/ericxliu-me.git /output - name: build