diff --git a/.drone.yml b/.drone.yml index c74ba56..bb2e8e2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,7 @@ steps: - echo 192.168.0.2 git.1000my.com >> /etc/hosts - ping git.1000my.com -c 1 - mkdir -p $HOME/.ssh/ - - echo /gitea > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa + - cat /gitea > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa - ssh-keyscan git.1000my.com > ~/.ssh/known_hosts - git clone --depth=1 $DRONE_GIT_SSH_URL . - git submodule update --init --recursive