Add .drone.yml
This commit is contained in:
parent
012c987853
commit
91f7381f8c
|
@ -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
|
Loading…
Reference in New Issue