summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 98e2402..e649b82 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -6,7 +6,11 @@ steps:
- name: submodules
image: alpine/git
commands:
- - git submodule update --init --recursive
+ - mkdir ~/.ssh
+ - umask 077
+ - echo "$GIT_SSH_KEY" > ~/.ssh/id_ed25519
+ - umask 000
+ - git submodule update --init --recursive
- name: build
image: klakegg/hugo:ci