fix publish settings

This commit is contained in:
Robert Kaussow 2021-09-19 21:40:51 +02:00
parent cb552a46a4
commit 3eaa056e96
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 3 deletions

View File

@ -279,7 +279,7 @@ local PipelineDocs(deps=[],) = {
access_key: { access_key: {
from_secret: 's3_access_key', from_secret: 's3_access_key',
}, },
bucket: 'geekblogs-root', bucket: 'geekdocs',
delete: true, delete: true,
endpoint: 'https://sp.rknet.org', endpoint: 'https://sp.rknet.org',
path_style: true, path_style: true,
@ -288,6 +288,7 @@ local PipelineDocs(deps=[],) = {
}, },
source: 'exampleSite/public/', source: 'exampleSite/public/',
strip_prefix: 'exampleSite/public/', strip_prefix: 'exampleSite/public/',
target: '/${DRONE_REPO_NAME}',
}, },
when: { when: {
ref: [ ref: [

View File

@ -213,7 +213,7 @@ steps:
settings: settings:
access_key: access_key:
from_secret: s3_access_key from_secret: s3_access_key
bucket: geekblogs-root bucket: geekdocs
delete: true delete: true
endpoint: https://sp.rknet.org endpoint: https://sp.rknet.org
path_style: true path_style: true
@ -221,6 +221,7 @@ steps:
from_secret: s3_secret_access_key from_secret: s3_secret_access_key
source: exampleSite/public/ source: exampleSite/public/
strip_prefix: exampleSite/public/ strip_prefix: exampleSite/public/
target: /${DRONE_REPO_NAME}
when: when:
ref: ref:
- refs/heads/main - refs/heads/main
@ -276,6 +277,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 82f00a78b202441f7f4a9504d12506a3360737667668949b70a4b4712fb23fdb hmac: ccc88d921fbb526ae7398dec081e9a95c86147e328396750636c2837de97260e
... ...