Add a build step to CI
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
443b4c3676
commit
90b1e8cda6
|
@ -3,6 +3,10 @@ kind: pipeline
|
||||||
name: upload to minio
|
name: upload to minio
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: registry.kucharczyk.tech/asciidoc
|
||||||
|
commands:
|
||||||
|
- "asciidoctor -D public asciidoc/*.adoc"
|
||||||
- name: upload
|
- name: upload
|
||||||
image: plugins/s3
|
image: plugins/s3
|
||||||
settings:
|
settings:
|
||||||
|
@ -11,8 +15,8 @@ steps:
|
||||||
from_secret: minio_kucharczyk_xyz_access_key
|
from_secret: minio_kucharczyk_xyz_access_key
|
||||||
secret_key:
|
secret_key:
|
||||||
from_secret: minio_kucharczyk_xyz_secret_key
|
from_secret: minio_kucharczyk_xyz_secret_key
|
||||||
source: asciidoc/**
|
source: public/**
|
||||||
strip_prefix: asciidoc/
|
strip_prefix: public/
|
||||||
path_style: true
|
path_style: true
|
||||||
target: /
|
target: /
|
||||||
endpoint: https://bucket.kucharczyk.xyz
|
endpoint: https://bucket.kucharczyk.xyz
|
||||||
|
|
Loading…
Reference in New Issue