|
|
@ -11,12 +11,12 @@ steps: |
|
|
|
- name: build |
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0 |
|
|
|
commands: |
|
|
|
- dotnet nuget locals global-packages --list |
|
|
|
- cd ./build |
|
|
|
- chmod 755 ./build.sh |
|
|
|
- ./build.sh |
|
|
|
- echo "${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}\n">./publish/version.txt |
|
|
|
- echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt |
|
|
|
- ls publish |
|
|
|
|
|
|
|
- name: publish |
|
|
|
image: plugins/s3 |
|
|
@ -47,7 +47,7 @@ steps: |
|
|
|
- mkdir publish |
|
|
|
|
|
|
|
- name: deploy-scp |
|
|
|
image: axute/drone-sftp |
|
|
|
image: appleboy/drone-scp |
|
|
|
settings: |
|
|
|
host: dev.ccwin-in.com |
|
|
|
port: 16085 |
|
|
|