Browse Source

test

master
wanggang 1 year ago
parent
commit
e908724737
  1. 9
      .drone.yml

9
.drone.yml

@ -2,6 +2,10 @@ kind: pipeline
type: docker
name: default
environment:
PRODUCT: product1
PROJECT: project1
platform:
arch: amd64
os: linux
@ -19,9 +23,6 @@ steps:
- name: publish
image: plugins/s3
environment:
PRODUCT: product1
PROJECT: project1
settings:
endpoint: http://dev.ccwin-in.com:3008
path_style: true
@ -30,7 +31,7 @@ steps:
secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR
source: build/publish/**/*
strip_prefix: build/publish/
target: $${PRODUCT}/${PROJECT}/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}
target: ${PRODUCT}/${PROJECT}/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}
- name: stop
image: appleboy/drone-ssh

Loading…
Cancel
Save