2021-10-05 17:35:26 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2021-10-06 12:07:08 +00:00
|
|
|
type: docker
|
|
|
|
name: update website
|
2021-10-05 17:35:26 +00:00
|
|
|
|
|
|
|
steps:
|
2021-10-06 12:07:08 +00:00
|
|
|
- name: build
|
|
|
|
image: registry.kucharczyk.tech/asciidoctor
|
|
|
|
commands:
|
|
|
|
- "asciidoctor -D public asciidoc/index.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
|
2021-10-05 17:35:26 +00:00
|
|
|
trigger:
|
|
|
|
event:
|
2021-10-06 12:07:08 +00:00
|
|
|
- push
|
|
|
|
- cron
|
2021-10-05 17:35:26 +00:00
|
|
|
exclude:
|
2021-10-06 12:07:08 +00:00
|
|
|
- pull_request
|