Browse Source

update drone

master
wanggang 1 year ago
parent
commit
b24e2262e9
  1. 24
      .drone.yml

24
.drone.yml

@ -11,6 +11,7 @@ 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
@ -59,18 +60,17 @@ steps:
# target: /D D:/BQ-JS/test # target: /D D:/BQ-JS/test
# source: ./build/publish # source: ./build/publish
- name: deploy # - name: deploy
image: hypervtechnics/drone-sftp # image: atmoz/sftp
settings: # settings:
host: dev.ccwin-in.com # host: dev.ccwin-in.com
port: 16085 # port: 16085
username: # username:
from_secret: username # from_secret: username
password: # password:
from_secret: password # from_secret: password
source: ./build/publish # source: ./build/publish
target: D:/BQ-JS/test # target: D:/BQ-JS/test
# - name: start # - name: start
# image: appleboy/drone-ssh # image: appleboy/drone-ssh
# settings: # settings:

Loading…
Cancel
Save