summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.drone.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 89685e5..6497492 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -17,7 +17,9 @@ steps:
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=no
commands:
- mkdir ~/.ssh
+ - umask 077
- echo "$GIT_SSH_KEY" > ~/.ssh/id_ed25519
+ - umask 000
- apt-get update && apt-get install git -y
- cd public
- git init