Browse Source

test drone

master
wanggang 1 year ago
parent
commit
556a464152
  1. 4
      .drone.yml

4
.drone.yml

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

Loading…
Cancel
Save