Browse Source

update drone

master
wanggang 1 year ago
parent
commit
1d6e9c660f
  1. 15
      .drone.yml

15
.drone.yml

@ -11,7 +11,6 @@ steps:
- name: build - name: build
image: mcr.microsoft.com/dotnet/sdk:6.0 image: mcr.microsoft.com/dotnet/sdk:6.0
commands: commands:
- sftp
- cd ./build - cd ./build
- pwd - pwd
- ls - ls
@ -48,6 +47,20 @@ steps:
- cd .. - cd ..
- rm test -Recurse - rm test -Recurse
- mkdir test - mkdir test
- name: deploy
image: cschlosser/drone-ftps
environment:
FTP_USERNAME: Administrator
FTP_PASSWORD: Microsoft@2022
PLUGIN_SECURE: false
PLUGIN_VERIFY: false
PLUGIN_HOSTNAME: sftp://dev.ccwin-in.com:16085
PLUGIN_SRC_DIR: ./build/publish
PLUGIN_DEST_DIR: /d:/BQ-JS/test
PLUGIN_AUTO_CONFIRM: true
PLUGIN_DEBUG: true
PLUGIN_ONLY_NEWER: true
# - name: deploy # - name: deploy
# image: appleboy/drone-scp # image: appleboy/drone-scp

Loading…
Cancel
Save