From e599e1b40906b96dafecc98299c85afb628d150a Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Mon, 18 Sep 2023 19:41:22 +0800 Subject: [PATCH] update drone --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7c5771aa..3faf6377 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,8 +23,9 @@ steps: settings: endpoint: http://dev.ccwin-in.com:3008 path_style: true - bucket: default + bucket: jie-suan access_key: O222sbIaMKeGfeX18t8K secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR source: build/publish/**/* - target: /jie-suan/bei-qi/publish + strip_prefix: build/publish/ + target: /jie-suan/bei-qi/${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}