Browse Source

test drone

master
wanggang 1 year ago
parent
commit
b1e2575fdb
  1. 30
      .drone.yml

30
.drone.yml

@ -32,20 +32,20 @@ steps:
# strip_prefix: 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} # target: /jie-suan/bei-qi/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}
- name: stop # - name: stop
image: appleboy/drone-ssh # image: appleboy/drone-ssh
settings: # settings:
host: dev.ccwin-in.com # host: dev.ccwin-in.com
port: 16085 # port: 16085
username: Administrator # username: Administrator
password: Microsoft@2022 # password: Microsoft@2022
command_timeout: 10m # command_timeout: 10m
script: # script:
- cd /D D:/BQ-JS/publish # - cd /D D:/BQ-JS/publish
- stop.cmd # - stop.cmd
- cd .. # - cd ..
- rd/s/q "./publish" # - rd/s/q "./publish"
- dir . # - dir .
- name: deploy - name: deploy
image: appleboy/drone-scp image: appleboy/drone-scp
@ -55,7 +55,7 @@ steps:
username: Administrator username: Administrator
password: Microsoft@2022 password: Microsoft@2022
command_timeout: 10m command_timeout: 10m
target: D:/BQ-JS/test target: /D D:/BQ-JS/publish
source: ./build/publish source: ./build/publish
overwrite: true overwrite: true

Loading…
Cancel
Save