Browse Source

update drone

master
wanggang 1 year ago
parent
commit
1702060c64
  1. 37
      .drone.yml

37
.drone.yml

@ -45,19 +45,34 @@ steps:
- sleep 3s
- cd ..
- rm -rf publish
- mkdir publish
# - name: deploy
# image: appleboy/drone-scp
# settings:
# host: dev.ccwin-in.com
# port: 16085
# username: Administrator
# password: Microsoft@2022
# timeout: "30m"
# command_timeout: "30m"
# target: /d/BQ-JS/publish
# source: build/publish
# strip_components: 2
- name: deploy
image: appleboy/drone-scp
settings:
host: dev.ccwin-in.com
port: 16085
username: Administrator
password: Microsoft@2022
timeout: "30m"
command_timeout: "30m"
target: /d/BQ-JS/publish
source: build/publish
strip_components: 2
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/publish
PLUGIN_AUTO_CONFIRM: true
PLUGIN_DEBUG: true
PLUGIN_ONLY_NEWER: true
- name: start
image: appleboy/drone-ssh

Loading…
Cancel
Save