DOES THIS WORK????
Some checks failed
continuous-integration/woodpecker the build failed

This commit is contained in:
Hamcha 2021-11-17 16:47:39 +01:00
parent ba9bb0bce5
commit 9fa3dc834a
Signed by: hamcha
GPG key ID: 1669C533B8CF6D89

View file

@ -38,43 +38,48 @@ pipeline:
upload_build_versioned:
image: woodpeckerci/plugin-s3
bucket: tghandbook
secrets: [minio_access, minio_secret]
access_key: $MINIO_ACCESS
secret_key: $MINIO_SECRET
source: dist/**/*
target: /${DRONE_COMMIT_BRANCH/\//_}-${DRONE_COMMIT_SHA:0:8}/
strip_prefix: dist/
path_style: true
endpoint: https://artifacts.fromouter.space
settings:
bucket: tghandbook
access_key: $MINIO_ACCESS
secret_key: $MINIO_SECRET
source: dist/**/*
target: /${DRONE_COMMIT_BRANCH/\//_}-${DRONE_COMMIT_SHA:0:8}/
strip_prefix: dist/
path_style: true
endpoint: https://artifacts.fromouter.space
when:
event: push
group: upload
upload_build_pr:
image: woodpeckerci/plugin-s3
bucket: tghandbook
secrets: [minio_access, minio_secret]
access_key: $MINIO_ACCESS
secret_key: $MINIO_SECRET
source: dist-pr/**/*
target: /pr-${DRONE_PULL_REQUEST}/
strip_prefix: dist-pr/
path_style: true
endpoint: https://artifacts.fromouter.space
settings:
bucket: tghandbook
secrets: [minio_access, minio_secret]
access_key: $MINIO_ACCESS
secret_key: $MINIO_SECRET
source: dist-pr/**/*
target: /pr-${DRONE_PULL_REQUEST}/
strip_prefix: dist-pr/
path_style: true
endpoint: https://artifacts.fromouter.space
when:
event: pull_request
group: upload
upload_build_branch:
image: woodpeckerci/plugin-s3
bucket: tghandbook
secrets: [minio_access, minio_secret]
access_key: $MINIO_ACCESS
secret_key: $MINIO_SECRET
source: dist-branch/**/*
target: /${DRONE_COMMIT_BRANCH/\//_}/
strip_prefix: dist-branch/
path_style: true
endpoint: https://artifacts.fromouter.space
settings:
bucket: tghandbook
secrets: [minio_access, minio_secret]
access_key: $MINIO_ACCESS
secret_key: $MINIO_SECRET
source: dist-branch/**/*
target: /${DRONE_COMMIT_BRANCH/\//_}/
strip_prefix: dist-branch/
path_style: true
endpoint: https://artifacts.fromouter.space
group: upload