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
|
event: push
|
||||||
group: build
|
group: build
|
||||||
|
|
||||||
|
diocane:
|
||||||
|
image: node
|
||||||
|
secrets: [minio_access]
|
||||||
|
commands:
|
||||||
|
- echo $minio_access
|
||||||
|
group: build
|
||||||
|
|
||||||
upload_build_versioned:
|
upload_build_versioned:
|
||||||
image: woodpeckerci/plugin-s3
|
image: woodpeckerci/plugin-s3
|
||||||
bucket: tghandbook
|
bucket: tghandbook
|
||||||
secrets: [minio_access, minio_secret]
|
secrets: [minio_access, minio_secret]
|
||||||
access_key: $MINIO_ACCESS
|
access_key: $minio_access
|
||||||
secret_key: $MINIO_SECRET
|
secret_key: $minio_secret
|
||||||
source: dist/**/*
|
source: dist/**/*
|
||||||
target: /${DRONE_COMMIT_BRANCH/\//_}-${DRONE_COMMIT_SHA:0:8}/
|
target: /${DRONE_COMMIT_BRANCH/\//_}-${DRONE_COMMIT_SHA:0:8}/
|
||||||
strip_prefix: dist/
|
strip_prefix: dist/
|
||||||
|
@ -55,8 +62,8 @@ pipeline:
|
||||||
image: woodpeckerci/plugin-s3
|
image: woodpeckerci/plugin-s3
|
||||||
bucket: tghandbook
|
bucket: tghandbook
|
||||||
secrets: [minio_access, minio_secret]
|
secrets: [minio_access, minio_secret]
|
||||||
access_key: $MINIO_ACCESS
|
access_key: $minio_access
|
||||||
secret_key: $MINIO_SECRET
|
secret_key: $minio_secret
|
||||||
source: dist-pr/**/*
|
source: dist-pr/**/*
|
||||||
target: /pr-${DRONE_PULL_REQUEST}/
|
target: /pr-${DRONE_PULL_REQUEST}/
|
||||||
strip_prefix: dist-pr/
|
strip_prefix: dist-pr/
|
||||||
|
@ -70,8 +77,8 @@ pipeline:
|
||||||
image: woodpeckerci/plugin-s3
|
image: woodpeckerci/plugin-s3
|
||||||
bucket: tghandbook
|
bucket: tghandbook
|
||||||
secrets: [minio_access, minio_secret]
|
secrets: [minio_access, minio_secret]
|
||||||
access_key: $MINIO_ACCESS
|
access_key: $minio_access
|
||||||
secret_key: $MINIO_SECRET
|
secret_key: $minio_secret
|
||||||
source: dist-branch/**/*
|
source: dist-branch/**/*
|
||||||
target: /${DRONE_COMMIT_BRANCH/\//_}/
|
target: /${DRONE_COMMIT_BRANCH/\//_}/
|
||||||
strip_prefix: dist-branch/
|
strip_prefix: dist-branch/
|
||||||
|
|
Reference in a new issue