|
|
@ -19,17 +19,17 @@ steps: |
|
|
|
- echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt |
|
|
|
- dotnet nuget locals global-packages --list |
|
|
|
|
|
|
|
- name: publish |
|
|
|
image: plugins/s3 |
|
|
|
settings: |
|
|
|
endpoint: http://dev.ccwin-in.com:3008 |
|
|
|
path_style: true |
|
|
|
bucket: default |
|
|
|
access_key: O222sbIaMKeGfeX18t8K |
|
|
|
secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR |
|
|
|
source: build/publish/**/* |
|
|
|
strip_prefix: build/publish/ |
|
|
|
target: /jie-suan/bei-qi/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8} |
|
|
|
# - name: publish |
|
|
|
# image: plugins/s3 |
|
|
|
# settings: |
|
|
|
# endpoint: http://dev.ccwin-in.com:3008 |
|
|
|
# path_style: true |
|
|
|
# bucket: default |
|
|
|
# access_key: O222sbIaMKeGfeX18t8K |
|
|
|
# secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR |
|
|
|
# source: build/publish/**/* |
|
|
|
# strip_prefix: build/publish/ |
|
|
|
# target: /jie-suan/bei-qi/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8} |
|
|
|
|
|
|
|
- name: stop |
|
|
|
image: appleboy/drone-ssh |
|
|
@ -43,7 +43,7 @@ steps: |
|
|
|
- mkdir -p /d/BQ-JS/publish |
|
|
|
- cd /d/BQ-JS |
|
|
|
- cmd.exe |
|
|
|
- cd publish&stop.cmd&cd ..&rm -rf publish |
|
|
|
- cd publish&stop.cmd&sleep 3&cd ..&rm -rf publish |
|
|
|
|
|
|
|
- name: deploy-ftp |
|
|
|
image: cschlosser/drone-ftps |
|
|
|