From c30196eee6cfebced415db8471f2dd5fd594cd55 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 16 Dec 2024 16:02:31 +0800 Subject: [PATCH] fix: ci --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e46a13d..03844e6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,7 @@ steps: commands: - echo 192.168.0.2 git.1000my.com >> /etc/hosts - ping git.1000my.com -c 1 - - git clone --depth=1 $DRONE_GIT_HTTP_URL . + - git clone -b $DRONE_REPO_BRANCH --depth=1 $DRONE_GIT_HTTP_URL . - git submodule update --init --recursive - name: 生成Release版本