|
@ -1,5 +1,4 @@ |
|
|
global-variables: |
|
|
global-variables: |
|
|
debian_image: &debian_image debian:7.11-slim |
|
|
|
|
|
environment: &default_environment |
|
|
environment: &default_environment |
|
|
PRODUCT: product1 |
|
|
PRODUCT: product1 |
|
|
PROJECT: project1 |
|
|
PROJECT: project1 |
|
@ -33,7 +32,7 @@ steps: |
|
|
secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR |
|
|
secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR |
|
|
source: build/publish/**/* |
|
|
source: build/publish/**/* |
|
|
strip_prefix: 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 |
|
|
- name: stop |
|
|
image: appleboy/drone-ssh |
|
|
image: appleboy/drone-ssh |
|
|