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}