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 - sleep 3s
- cd .. - cd ..
- rm -rf publish - 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 - 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
timeout: "30m" PLUGIN_HOSTNAME: sftp://dev.ccwin-in.com:16085
command_timeout: "30m" PLUGIN_SRC_DIR: /build/publish
target: /d/BQ-JS/publish PLUGIN_DEST_DIR: /d/BQ-JS/publish
source: build/publish PLUGIN_AUTO_CONFIRM: true
strip_components: 2 PLUGIN_DEBUG: true
PLUGIN_ONLY_NEWER: true
- name: start - name: start
image: appleboy/drone-ssh image: appleboy/drone-ssh

Loading…
Cancel
Save