summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorhyang <hyang@hyang.xyz>2023-08-27 19:05:09 -0700
committerhyang <hyang@hyang.xyz>2023-08-27 19:05:09 -0700
commitdad768e08eb968d4c4560b35d0e36f4b35a9a84a (patch)
tree8411f349ed0ab676edf068ace06666a4b3e425c0 /.drone.yml
parent8f52f0c25b5eaef22d48c7dda222d680e5cc4462 (diff)
drone sucks
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