From b35941d10019fc4073388a8d4da48305b2d58673 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 13 Dec 2024 16:41:27 +0800 Subject: [PATCH] fix: ci --- .drone.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index adbd9ee..6ef148c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,14 +33,8 @@ steps: commands: - echo 192.168.0.2 git.1000my.com >> /etc/hosts - ping git.1000my.com -c 1 - - mkdir -p $HOME/.ssh/ - - ssh-keyscan git.1000my.com > ~/.ssh/known_hosts - - git clone --depth=1 $DRONE_GIT_SSH_URL . + - git clone --depth=1 $DRONE_GIT_HTTP_URL . - git submodule update --init --recursive - - git -c advice.detachedHead=false checkout $DRONE_COMMIT - - git status - - pwd - - ls -la - name: 生成Release版本 pull: if-not-exists