markdown-monster-club/.drone.yml
Alexey Skobkin 9090552800
All checks were successful
continuous-integration/drone/push Build is passing
Verbose pandoc output in CI.
2023-12-22 18:44:32 +03:00

23 lines
545 B
YAML

kind: pipeline
type: docker
name: build
steps:
- name: build-book
image: 'pandoc/core:3'
commands:
- 'echo "Current tag (if any): $DRONE_TAG"'
- 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o "monster-club_$DRONE_TAG.epub" --verbose title.txt'
- 'ls -la ./*.epub'
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.skobk.in
files:
- '*.epub'
when:
event:
- tag