markdown-everyday-life-with.../.drone.yml

22 lines
499 B
YAML
Raw Normal View History

kind: pipeline
type: docker
name: build
steps:
- name: build-book
image: 'pandoc/core:3'
commands:
- 'echo "Commit $DRONE_COMMIT"'
2024-05-10 22:57:51 +00:00
- 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o "book_$DRONE_TAG.epub" --verbose title.txt'
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.skobk.in
files:
2024-05-10 22:57:51 +00:00
- '*.epub'
when:
event:
- tag