Browse Source

update drone

master
wanggang 1 year ago
parent
commit
b9b1041965
  1. 46
      .drone.yml

46
.drone.yml

@ -47,31 +47,31 @@ steps:
- cd .. - cd ..
- rm test -Recurse - rm test -Recurse
- mkdir test - mkdir test
- name: deploy
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 # - name: deploy
# image: appleboy/drone-scp # image: cschlosser/drone-ftps
# settings: # environment:
# host: dev.ccwin-in.com # FTP_USERNAME: Administrator
# port: 16085 # FTP_PASSWORD: Microsoft@2022
# username: Administrator # PLUGIN_SECURE: false
# password: Microsoft@2022 # PLUGIN_VERIFY: false
# command_timeout: 10m # PLUGIN_HOSTNAME: sftp://dev.ccwin-in.com:16085
# target: /D D:/BQ-JS/test # PLUGIN_SRC_DIR: /build/publish
# source: ./build/publish # PLUGIN_DEST_DIR: D:/BQ-JS/test
# PLUGIN_AUTO_CONFIRM: true
# PLUGIN_DEBUG: true
# PLUGIN_ONLY_NEWER: true
- name: deploy
image: appleboy/drone-scp
settings:
host: dev.ccwin-in.com
port: 16085
username: Administrator
password: Microsoft@2022
command_timeout: 10m
target: D:/BQ-JS/test
source: /build/publish
# - name: deploy # - name: deploy
# image: atmoz/sftp # image: atmoz/sftp

Loading…
Cancel
Save