diff --git a/.drone.yml b/.drone.yml index d802a25d..a4fdc7c6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -40,35 +40,13 @@ steps: password: Microsoft@2022 command_timeout: 10m script: + - mkdir -p /d/BQ-JS/publish - cd /d/BQ-JS/publish - - cmd.exe -k stop.cmd + - cmd.exe -k stop.cmd - sleep 3s - cd .. - rm -rf publish - - mkdir publish - - # - name: deploy-scp - # image: appleboy/drone-scp - # settings: - # host: dev.ccwin-in.com - # port: 16085 - # username: Administrator - # password: Microsoft@2022 - # source: build/publish - # target: /d/BQ-JS/publish - # timeout: 1800s - # command_timeout: 30m - - # - name: deploy-sftp - # image: axute/drone-sftp - # settings: - # host: dev.ccwin-in.com - # port: 16085 - # username: Administrator - # password: Microsoft@2022 - # source: build/publish - # target: /d/BQ-JS/publish - # strip_components: 2 + - mkdir -p publish - name: deploy-ftp image: cschlosser/drone-ftps @@ -93,5 +71,27 @@ steps: command_timeout: 10m script: - cd /d/BQ-JS/publish - - cmd.exe -k start.cmd + - cmd.exe -k start.cmd + # - name: deploy-scp + # image: appleboy/drone-scp + # settings: + # host: dev.ccwin-in.com + # port: 16085 + # username: Administrator + # password: Microsoft@2022 + # source: build/publish + # target: /d/BQ-JS/publish + # timeout: 1800s + # command_timeout: 30m + + # - name: deploy-sftp + # image: axute/drone-sftp + # settings: + # host: dev.ccwin-in.com + # port: 16085 + # username: Administrator + # password: Microsoft@2022 + # source: build/publish + # target: /d/BQ-JS/publish + # strip_components: 2