Browse Source

upload drone

master
wanggang 1 year ago
parent
commit
01d8fcf70e
  1. 37
      .drone.yml

37
.drone.yml

@ -48,43 +48,14 @@ steps:
- mkdir publish
- name: deploy
image: appleboy/drone-scp
image: cupcakearmy/drone-deploy
settings:
host: dev.ccwin-in.com
port: 16085
username: Administrator
user: Administrator
password: Microsoft@2022
command_timeout: 30m
sources: ./build/publish
target: /d/BQ-JS/publish
source: build/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: 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
@ -95,6 +66,6 @@ steps:
password: Microsoft@2022
command_timeout: 10m
script:
- cd D:/BQ-JS/publish
- cd /d/BQ-JS/publish
- ./start.cmd
- echo ok

Loading…
Cancel
Save