markdown-monster-club/.drone.yml

18 lines
464 B
YAML
Raw Normal View History

2023-12-22 01:57:51 +00:00
kind: pipeline
type: docker
name: build
steps:
-
name: build-book
image: 'pandoc/minimal:3'
commands:
- 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r docker run --rm --volume "$(pwd):/data" --user $(id -u):$(id -g) pandoc/minimal -o book.epub title.txt'
- name: gitea_release
image: plugins/gitea-release
settings:
api_key: $GITEA_TOKEN
base_url: https://git.skobk.in
files:
- 'book.epub'