diff --git a/.drone.yml b/.drone.yml index 0e7fa03c..5fdf5504 100644 --- a/.drone.yml +++ b/.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