diff options
| author | qugalet <qugalet@m0e.space> | 2023-10-31 23:34:41 +0200 |
|---|---|---|
| committer | qugalet <qugalet@m0e.space> | 2023-10-31 23:34:41 +0200 |
| commit | 86661fe5c42db11dae9aa4075a969ba96ad9b108 (patch) | |
| tree | 72f5b6f8f2bbc56a89801bad2cd60d0c81799f1c | |
| parent | 5f205833ac8f467cea57c606a5a51c478f087187 (diff) | |
| download | quga.m0e.space-86661fe5c42db11dae9aa4075a969ba96ad9b108.tar.gz quga.m0e.space-86661fe5c42db11dae9aa4075a969ba96ad9b108.zip | |
fix typo on clone and add mkdir
| -rw-r--r-- | .drone.yml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |
