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/
# 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
settings:
host: dev.ccwin-in.com
port: 16085
username: Administrator
password: Microsoft@2022
command_timeout: 10m
script:
- cd /D D:/BQ-JS/publish
- stop.cmd
- cd ..
- rd/s/q "./publish"
- dir .
# - name: stop
# image: appleboy/drone-ssh
# settings:
# host: dev.ccwin-in.com
# port: 16085
# username: Administrator
# password: Microsoft@2022
# command_timeout: 10m
# script:
# - cd /D D:/BQ-JS/publish
# - stop.cmd
# - cd ..
# - rd/s/q "./publish"
# - dir .
- name: deploy
image: appleboy/drone-scp
@ -55,7 +55,7 @@ steps:
username: Administrator
password: Microsoft@2022
command_timeout: 10m
target: D:/BQ-JS/test
target: /D D:/BQ-JS/publish
source: ./build/publish
overwrite: true

Loading…
Cancel
Save