Add a build step to CI
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Lukáš Kucharczyk 2021-10-05 20:17:11 +02:00
parent 443b4c3676
commit 90b1e8cda6
1 changed files with 6 additions and 2 deletions

View File

@ -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