This commit is contained in:
parent
ae12eaa6a0
commit
75c3c867b4
1 changed files with 13 additions and 6 deletions
|
@ -36,12 +36,19 @@ pipeline:
|
|||
event: push
|
||||
group: build
|
||||
|
||||
diocane:
|
||||
image: node
|
||||
secrets: [minio_access]
|
||||
commands:
|
||||
- echo $minio_access
|
||||
group: build
|
||||
|
||||
upload_build_versioned:
|
||||
image: woodpeckerci/plugin-s3
|
||||
bucket: tghandbook
|
||||
secrets: [minio_access, minio_secret]
|
||||
access_key: $MINIO_ACCESS
|
||||
secret_key: $MINIO_SECRET
|
||||
access_key: $minio_access
|
||||
secret_key: $minio_secret
|
||||
source: dist/**/*
|
||||
target: /${DRONE_COMMIT_BRANCH/\//_}-${DRONE_COMMIT_SHA:0:8}/
|
||||
strip_prefix: dist/
|
||||
|
@ -55,8 +62,8 @@ pipeline:
|
|||
image: woodpeckerci/plugin-s3
|
||||
bucket: tghandbook
|
||||
secrets: [minio_access, minio_secret]
|
||||
access_key: $MINIO_ACCESS
|
||||
secret_key: $MINIO_SECRET
|
||||
access_key: $minio_access
|
||||
secret_key: $minio_secret
|
||||
source: dist-pr/**/*
|
||||
target: /pr-${DRONE_PULL_REQUEST}/
|
||||
strip_prefix: dist-pr/
|
||||
|
@ -70,8 +77,8 @@ pipeline:
|
|||
image: woodpeckerci/plugin-s3
|
||||
bucket: tghandbook
|
||||
secrets: [minio_access, minio_secret]
|
||||
access_key: $MINIO_ACCESS
|
||||
secret_key: $MINIO_SECRET
|
||||
access_key: $minio_access
|
||||
secret_key: $minio_secret
|
||||
source: dist-branch/**/*
|
||||
target: /${DRONE_COMMIT_BRANCH/\//_}/
|
||||
strip_prefix: dist-branch/
|
||||
|
|
Reference in a new issue