Trying to fix tagged file build.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Alexey Skobkin 2023-12-22 18:05:22 +03:00
parent d04d41f5cd
commit 6cc7043090
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
2 changed files with 4 additions and 3 deletions

View File

@ -6,8 +6,9 @@ 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'
- 'echo "Current tag (if any): $DRONE_TAG"'
- 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o "monster-club_$DRONE_TAG.epub" title.txt'
- 'ls -la ./*.epub'
- name: gitea_release
image: plugins/gitea-release
settings:

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
/.idea
/chapters/description.json
/book.epub
/*.epub