Better drone paths
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hamcha 2019-09-06 16:42:04 +02:00
parent b0d6590a64
commit 876c473093
Signed by: hamcha
GPG Key ID: 44AD3571EB09A39E
1 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ steps:
secret_key:
from_secret: minio_secret
source: dist/**/*
target: /mcg/${DRONE_COMMIT_SHA:0:8}/dist/
target: /${DRONE_COMMIT_SHA:0:8}/
path_style: true
endpoint: https://artifacts.fromouter.space
@ -44,7 +44,7 @@ steps:
secret_key:
from_secret: minio_secret
source: dist/**/*
target: /mcg/pr-${DRONE_PULL_REQUEST}/dist/
target: /pr-${DRONE_PULL_REQUEST}/
path_style: true
endpoint: https://artifacts.fromouter.space
when:
@ -60,7 +60,7 @@ steps:
secret_key:
from_secret: minio_secret
source: dist/**/*
target: /mcg/latest/dist/
target: /latest/
path_style: true
endpoint: https://artifacts.fromouter.space
when:
@ -86,7 +86,7 @@ steps:
secret_key:
from_secret: minio_secret
source: coverage/lcov-report/**/*
target: /mcg/${DRONE_COMMIT_SHA:0:8}/coverage/
target: /${DRONE_COMMIT_SHA:0:8}/
path_style: true
endpoint: https://artifacts.fromouter.space
@ -99,7 +99,7 @@ steps:
secret_key:
from_secret: minio_secret
source: coverage/lcov-report/**/*
target: /mcg/${DRONE_COMMIT_SHA:0:8}/coverage/
target: /${DRONE_COMMIT_SHA:0:8}/
path_style: true
endpoint: https://artifacts.fromouter.space
when: