Better drone paths
All checks were successful
continuous-integration/drone/push Build is passing

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

View file

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