markdown-monster-club/.drone.yml
Alexey Skobkin d04d41f5cd
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Changing book file name and adding version to it.
2023-12-22 17:50:26 +03:00

22 lines
517 B
YAML

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