|
@ -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: |
|
|