|
|
@ -41,35 +41,48 @@ steps: |
|
|
|
password: Microsoft@2022 |
|
|
|
command_timeout: 10m |
|
|
|
script: |
|
|
|
- scp help |
|
|
|
- cd D:/BQ-JS/test |
|
|
|
# - stop.cmd |
|
|
|
- cd .. |
|
|
|
- rm test -Recurse |
|
|
|
- mkdir test |
|
|
|
|
|
|
|
|
|
|
|
# - name: deploy |
|
|
|
# image: appleboy/drone-scp |
|
|
|
# settings: |
|
|
|
# host: dev.ccwin-in.com |
|
|
|
# port: 16085 |
|
|
|
# username: Administrator |
|
|
|
# password: Microsoft@2022 |
|
|
|
# command_timeout: 10m |
|
|
|
# target: /D D:/BQ-JS/test |
|
|
|
# source: ./build/publish |
|
|
|
# image: cschlosser/drone-ftps |
|
|
|
# environment: |
|
|
|
# FTP_USERNAME: Administrator |
|
|
|
# FTP_PASSWORD: Microsoft@2022 |
|
|
|
# PLUGIN_SECURE: false |
|
|
|
# PLUGIN_VERIFY: false |
|
|
|
# PLUGIN_HOSTNAME: sftp://dev.ccwin-in.com:16085 |
|
|
|
# PLUGIN_SRC_DIR: /build/publish |
|
|
|
# PLUGIN_DEST_DIR: D:/BQ-JS/test |
|
|
|
# PLUGIN_AUTO_CONFIRM: true |
|
|
|
# PLUGIN_DEBUG: true |
|
|
|
# PLUGIN_ONLY_NEWER: true |
|
|
|
|
|
|
|
- name: deploy |
|
|
|
image: plugins/drone-sftp |
|
|
|
image: appleboy/drone-scp |
|
|
|
settings: |
|
|
|
host: dev.ccwin-in.com |
|
|
|
port: 16085 |
|
|
|
username: Administrator |
|
|
|
password: Microsoft@2022 |
|
|
|
destination_path : D:/BQ-JS/test |
|
|
|
files: ./build/publish/**/* |
|
|
|
|
|
|
|
command_timeout: 10m |
|
|
|
target: D:\BQ-JS\test |
|
|
|
source: build/publish |
|
|
|
|
|
|
|
# - name: deploy |
|
|
|
# image: atmoz/sftp |
|
|
|
# settings: |
|
|
|
# host: dev.ccwin-in.com |
|
|
|
# port: 16085 |
|
|
|
# username: |
|
|
|
# from_secret: username |
|
|
|
# password: |
|
|
|
# from_secret: password |
|
|
|
# source: build/publish |
|
|
|
# target: D:/BQ-JS/test |
|
|
|
# - name: start |
|
|
|
# image: appleboy/drone-ssh |
|
|
|
# settings: |
|
|
@ -79,7 +92,6 @@ steps: |
|
|
|
# password: Microsoft@2022 |
|
|
|
# command_timeout: 10m |
|
|
|
# script: |
|
|
|
# - d: |
|
|
|
# - cd D:\BQ-JS\publish |
|
|
|
# - cd D:/BQ-JS/test |
|
|
|
# - start.cmd |
|
|
|
# - echo ok |
|
|
|