Changing book file name and adding version to it.
This commit is contained in:
parent
488915c881
commit
d04d41f5cd
|
@ -7,7 +7,7 @@ steps:
|
||||||
image: 'pandoc/core:3'
|
image: 'pandoc/core:3'
|
||||||
commands:
|
commands:
|
||||||
- 'echo "Commit $DRONE_COMMIT"'
|
- '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 monster-club_$DRONE_TAG.epub title.txt'
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
|
@ -15,7 +15,7 @@ steps:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
base_url: https://git.skobk.in
|
base_url: https://git.skobk.in
|
||||||
files:
|
files:
|
||||||
- 'book.epub'
|
- 'monster-club_$DRONE_TAG.epub'
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
Loading…
Reference in a new issue