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
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: registry.kucharczyk.tech/asciidoc
|
||||
commands:
|
||||
- "asciidoctor -D public asciidoc/*.adoc"
|
||||
- name: upload
|
||||
image: plugins/s3
|
||||
settings:
|
||||
|
@ -11,8 +15,8 @@ steps:
|
|||
from_secret: minio_kucharczyk_xyz_access_key
|
||||
secret_key:
|
||||
from_secret: minio_kucharczyk_xyz_secret_key
|
||||
source: asciidoc/**
|
||||
strip_prefix: asciidoc/
|
||||
source: public/**
|
||||
strip_prefix: public/
|
||||
path_style: true
|
||||
target: /
|
||||
endpoint: https://bucket.kucharczyk.xyz
|
||||
|
|
Loading…
Reference in New Issue