|
@ -41,34 +41,34 @@ steps: |
|
|
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/test |
|
|
- stop.cmd |
|
|
# - stop.cmd |
|
|
- cd .. |
|
|
- cd .. |
|
|
- rd/s/q "./publish" |
|
|
- rmdir /s /q "./test" |
|
|
- dir . |
|
|
- dir . |
|
|
|
|
|
|
|
|
- name: deploy |
|
|
# - name: deploy |
|
|
image: appleboy/drone-scp |
|
|
# image: appleboy/drone-scp |
|
|
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 |
|
|
target: D:/BQ-JS/test |
|
|
# target: /D D:/BQ-JS/publish |
|
|
source: ./build/publish |
|
|
# source: ./build/publish |
|
|
overwrite: true |
|
|
# overwrite: true |
|
|
|
|
|
|
|
|
- name: start |
|
|
# - name: start |
|
|
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: |
|
|
- d: |
|
|
# - d: |
|
|
- cd D:\BQ-JS\publish |
|
|
# - cd D:\BQ-JS\publish |
|
|
- start.cmd |
|
|
# - start.cmd |
|
|
- echo ok |
|
|
# - echo ok |
|
|