From 07aed03ce9c9311799b45b1edf938bd6a279b6fb Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Sun, 12 Nov 2023 23:06:26 +0300 Subject: [PATCH] fix for key population --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 563fd21..5ed74e3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,8 +17,8 @@ steps: - apk add --no-cache git openssh - mkdir -p $HOME/.ssh - echo "$SSH_KEY" > $HOME/.ssh/id_rsa - - chmod 600 $HOME/.ssh/known_hosts - - ssh-keyscan -H git.neur0tx.site > ~/.ssh/known_hosts 2> /dev/null + - ssh-keyscan -H git.neur0tx.site > $HOME/.ssh/known_hosts 2> /dev/null + - chmod -R 600 $HOME/.ssh/known_hosts - cd .pub - git clone --filter=tree:0 git@git.neur0tx.site:Neur0toxine/neur0tx.site.git - cd neur0tx.site