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