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

Loading…
Cancel
Save