|
|
@ -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 |
|
|
@ -43,8 +43,8 @@ steps: |
|
|
|
password: Microsoft@2022 |
|
|
|
command_timeout: 10m |
|
|
|
script: |
|
|
|
- mkdir -p /d/publish/${PRODUCT}/${PROJECT} |
|
|
|
- cd /d/publish//${PRODUCT}/${PROJECT} |
|
|
|
- mkdir -p /d/publish/$PRODUCT/$PROJECT |
|
|
|
- cd /d/publish/$PRODUCT/$PROJECT |
|
|
|
- ./stop.cmd |
|
|
|
- sleep 3 |
|
|
|
- cd .. |
|
|
|