From 01d8fcf70ead9cc63f7db99804669b2e45d653e1 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Wed, 20 Sep 2023 10:21:23 +0800 Subject: [PATCH] upload drone --- .drone.yml | 37 ++++--------------------------------- 1 file changed, 4 insertions(+), 33 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5fdf5504..e25ba812 100644 --- a/.drone.yml +++ b/.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