kucharczyk.xyz/.drone.yml

28 lines
567 B
YAML
Raw Normal View History

2021-10-05 17:35:26 +00:00
---
kind: pipeline
name: upload to minio
steps:
2021-10-05 18:17:11 +00:00
- name: build
2021-10-05 18:18:06 +00:00
image: registry.kucharczyk.tech/asciidoctor
2021-10-05 18:17:11 +00:00
commands:
- "asciidoctor -D public asciidoc/*.adoc"
2021-10-05 17:35:26 +00:00
- 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
2021-10-05 18:17:11 +00:00
source: public/**
strip_prefix: public/
2021-10-05 17:35:26 +00:00
path_style: true
target: /
endpoint: https://bucket.kucharczyk.xyz
trigger:
event:
- push
- cron
exclude:
- pull_request