diff --git a/.drone.yml b/.drone.yml index 743e9e5..b213152 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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