fix for key population
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Pavel 2023-11-12 23:06:26 +03:00
parent 78b447d049
commit 07aed03ce9

View File

@ -17,8 +17,8 @@ steps:
- apk add --no-cache git openssh - apk add --no-cache git openssh
- mkdir -p $HOME/.ssh - mkdir -p $HOME/.ssh
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa - echo "$SSH_KEY" > $HOME/.ssh/id_rsa
- chmod 600 $HOME/.ssh/known_hosts - ssh-keyscan -H git.neur0tx.site > $HOME/.ssh/known_hosts 2> /dev/null
- ssh-keyscan -H git.neur0tx.site > ~/.ssh/known_hosts 2> /dev/null - chmod -R 600 $HOME/.ssh/known_hosts
- cd .pub - cd .pub
- git clone --filter=tree:0 git@git.neur0tx.site:Neur0toxine/neur0tx.site.git - git clone --filter=tree:0 git@git.neur0tx.site:Neur0toxine/neur0tx.site.git
- cd neur0tx.site - cd neur0tx.site