kucharczyk.xyz/.drone.yml

28 lines
564 B
YAML

---
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:
bucket: kucharczyk.xyz
access_key:
from_secret: minio_kucharczyk_xyz_access_key
secret_key:
from_secret: minio_kucharczyk_xyz_secret_key
source: public/**
strip_prefix: public/
path_style: true
target: /
endpoint: https://bucket.kucharczyk.xyz
trigger:
event:
- push
- cron
exclude:
- pull_request