Browse Source

update drone

master
wanggang 1 year ago
parent
commit
c68527b9db
  1. 36
      .drone.yml

36
.drone.yml

@ -47,6 +47,17 @@ steps:
- rm -rf publish - rm -rf publish
- mkdir publish - mkdir publish
- name: deploy
image: appleboy/drone-scp
settings:
host: dev.ccwin-in.com
port: 16085
username: Administrator
password: Microsoft@2022
command_timeout: 30m
target: /d/BQ-JS/publish
source: build/publish
# - name: deploy # - name: deploy
# image: appleboy/drone-scp # image: appleboy/drone-scp
# settings: # settings:
@ -60,17 +71,20 @@ steps:
# source: build/publish # source: build/publish
# strip_components: 2 # strip_components: 2
- name: deploy # - name: deploy
image: atmoz/sftp # image: atmoz/sftp
settings: # volumes:
host: dev.ccwin-in.com # - ./build/publish:/home/foo/upload
port: 16085 # ports:
username: # - 16085:22
from_secret: username # command: Administrator@Microsoft@2022:::upload
password: # settings:
from_secret: password # host: dev.ccwin-in.com
source: build/publish # port: 16085
target: /d/BQ-JS/publish # username: Administrator
# password: Microsoft@2022
# source: build/publish
# target: /d/BQ-JS/publish
- name: start - name: start
image: appleboy/drone-ssh image: appleboy/drone-ssh

Loading…
Cancel
Save