Add .drone.yml

This commit is contained in:
Lukáš Kucharczyk 2021-10-05 19:35:26 +02:00
parent 012c987853
commit 91f7381f8c
1 changed files with 24 additions and 0 deletions

24
asciidoc/.drone.yml Normal file
View File

@ -0,0 +1,24 @@
---
kind: pipeline
name: upload to minio
steps:
- 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: asciidoc/**
strip_prefix: asciidoc/
path_style: true
target: /
endpoint: https://bucket.kucharczyk.xyz
trigger:
event:
- push
- cron
exclude:
- pull_request