From e9c55946ebb40fca3e7de724cd0f55d0fcb29915 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 13 Dec 2024 16:14:04 +0800 Subject: [PATCH] fix: ci --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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