Compare commits
4 Commits
17dce5f976
...
main
Author | SHA1 | Date | |
---|---|---|---|
2ffa7cd67b | |||
1a51f3815c | |||
c986bf8723 | |||
d121053edf |
43
.drone.yml
43
.drone.yml
@ -1,28 +1,29 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: upload to minio
|
||||
type: docker
|
||||
name: update website
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: registry.kucharczyk.tech/asciidoctor
|
||||
commands:
|
||||
- "asciidoctor -D public asciidoc/*.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
|
||||
- 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
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- cron
|
||||
- push
|
||||
- cron
|
||||
exclude:
|
||||
- pull_request
|
||||
- pull_request
|
||||
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
public
|
10
asciidoc/index.adoc
Normal file
10
asciidoc/index.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
# kucharczyk.xyz - personal website
|
||||
:doctype: book
|
||||
:nofooter:
|
||||
|
||||
Hi! My name is Lukáš Kucharczyk and this is my small place on the Internet.
|
||||
I like to write about open source and tech in general.
|
||||
|
||||
## Articles
|
||||
|
||||
- xref:selfhostedsynapse.adoc[Self-hosting a Matrix server]
|
@ -1,7 +1,7 @@
|
||||
# Self-hosting a Matrix server
|
||||
Lukáš Kucharczyk
|
||||
:toc: left
|
||||
:doctype: book
|
||||
:doctype: article
|
||||
:source-highlighter: highlightjs
|
||||
|
||||
== Assumptions
|
||||
|
Reference in New Issue
Block a user