CI update
This commit is contained in:
parent
5e93d7d18c
commit
ce393db976
|
@ -7,7 +7,7 @@ steps:
|
|||
image: 'pandoc/core:3'
|
||||
commands:
|
||||
- 'echo "Commit $DRONE_COMMIT"'
|
||||
- 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o book.epub title.txt'
|
||||
- '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:
|
||||
|
@ -15,7 +15,7 @@ steps:
|
|||
from_secret: gitea_token
|
||||
base_url: https://git.skobk.in
|
||||
files:
|
||||
- 'book.epub'
|
||||
- '*.epub'
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
|
Loading…
Reference in a new issue