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