summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml5
1 files changed, 4 insertions, 1 deletions
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