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
- 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
# image: appleboy/drone-scp
# settings:
@ -60,17 +71,20 @@ steps:
# source: build/publish
# strip_components: 2
- 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/publish
# - name: deploy
# image: atmoz/sftp
# volumes:
# - ./build/publish:/home/foo/upload
# ports:
# - 16085:22
# command: Administrator@Microsoft@2022:::upload
# settings:
# host: dev.ccwin-in.com
# port: 16085
# username: Administrator
# password: Microsoft@2022
# source: build/publish
# target: /d/BQ-JS/publish
- name: start
image: appleboy/drone-ssh

Loading…
Cancel
Save