From f60bee65286ca49c292f15a87721bd00d6174a16 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Tue, 26 Sep 2023 17:31:40 +0800 Subject: [PATCH] test --- .drone.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5069fd6..29ca0e6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,12 +1,12 @@ ---- +global-variables: + environment: + PRODUCT: product1 + PROJECT: project1 + kind: pipeline type: docker name: linux-amd64 -environment: - PRODUCT: product1 - PROJECT: project1 - platform: arch: amd64 os: linux @@ -32,7 +32,7 @@ steps: secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR source: build/publish/**/* strip_prefix: build/publish/ - target: "/${PRODUCT}/${PROJECT}/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}"" + target: /${PRODUCT}/${PROJECT}/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8} - name: stop image: appleboy/drone-ssh