Browse Source

test drone

master
wanggang 1 year ago
parent
commit
a7640f454f
  1. 32
      .drone.yml

32
.drone.yml

@ -19,17 +19,17 @@ steps:
- echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt - echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt
- ls publish - ls publish
- name: publish # - name: publish
image: plugins/s3 # image: plugins/s3
settings: # settings:
endpoint: http://dev.ccwin-in.com:3008 # endpoint: http://dev.ccwin-in.com:3008
path_style: true # path_style: true
bucket: default # bucket: default
access_key: O222sbIaMKeGfeX18t8K # access_key: O222sbIaMKeGfeX18t8K
secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR # secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR
source: build/publish/**/* # source: build/publish/**/*
strip_prefix: build/publish/ # strip_prefix: build/publish/
target: /jie-suan/bei-qi/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8} # target: /jie-suan/bei-qi/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}
- name: stop - name: stop
image: appleboy/drone-ssh image: appleboy/drone-ssh
@ -47,16 +47,6 @@ steps:
- rm -rf publish - rm -rf publish
- mkdir publish - mkdir publish
# - name: deploy
# image: cupcakearmy/drone-deploy
# settings:
# host: dev.ccwin-in.com
# port: 16085
# user: Administrator
# password: Microsoft@2022
# sources: ./build/publish
# target: /d/BQ-JS/publish
- name: deploy - name: deploy
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:

Loading…
Cancel
Save