Update .drone.yml
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Change type to docker Build only index.adoc
This commit is contained in:
parent
1a51f3815c
commit
2ffa7cd67b
41
.drone.yml
41
.drone.yml
|
@ -1,28 +1,29 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: upload to minio
|
type: docker
|
||||||
|
name: update website
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: registry.kucharczyk.tech/asciidoctor
|
image: registry.kucharczyk.tech/asciidoctor
|
||||||
commands:
|
commands:
|
||||||
- "asciidoctor -D public asciidoc/*.adoc"
|
- "asciidoctor -D public asciidoc/index.adoc"
|
||||||
- name: upload
|
- name: upload
|
||||||
image: plugins/s3
|
image: plugins/s3
|
||||||
settings:
|
settings:
|
||||||
bucket: kucharczyk.xyz
|
bucket: kucharczyk.xyz
|
||||||
access_key:
|
access_key:
|
||||||
from_secret: minio_kucharczyk_xyz_access_key
|
from_secret: minio_kucharczyk_xyz_access_key
|
||||||
secret_key:
|
secret_key:
|
||||||
from_secret: minio_kucharczyk_xyz_secret_key
|
from_secret: minio_kucharczyk_xyz_secret_key
|
||||||
source: public/**
|
source: public/**
|
||||||
strip_prefix: public/
|
strip_prefix: public/
|
||||||
path_style: true
|
path_style: true
|
||||||
target: /
|
target: /
|
||||||
endpoint: https://bucket.kucharczyk.xyz
|
endpoint: https://bucket.kucharczyk.xyz
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- cron
|
- cron
|
||||||
exclude:
|
exclude:
|
||||||
- pull_request
|
- pull_request
|
Loading…
Reference in New Issue