From 86661fe5c42db11dae9aa4075a969ba96ad9b108 Mon Sep 17 00:00:00 2001 From: qugalet Date: Tue, 31 Oct 2023 23:34:41 +0200 Subject: fix typo on clone and add mkdir --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9320c47..a6cb7dd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,10 +3,12 @@ kind: pipeline type: docker name: default +clone: + disable: true + steps: - name: pull changes and build image: klakegg/hugo:alpine - clone: false volumes: - name: public path: /public @@ -16,6 +18,7 @@ steps: SSH_KEY: from_secret: ssh_key commands: + - mkdir -p $HOME/.ssh - echo "$SSH_KEY" > $HOME/.ssh/id_ed25519 - chmod 600 $HOME/.ssh/known_hosts - ssh-keyscan -H git@m0e.space > ~/.ssh/known_hosts 2> /dev/null -- cgit v1.3-3-ga95d