small fix in .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c3409b9a1c
commit
b94f7b6915
14
.drone.yml
14
.drone.yml
|
@ -3,15 +3,19 @@ type: docker
|
||||||
name: build
|
name: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: build-book
|
||||||
name: build-book
|
image: 'pandoc/core:3'
|
||||||
image: 'pandoc/minimal:3'
|
|
||||||
commands:
|
commands:
|
||||||
- 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r docker run --rm --volume "$(pwd):/data" --user $(id -u):$(id -g) pandoc/minimal -o book.epub title.txt'
|
- 'echo "Commit $DRONE_COMMIT"'
|
||||||
|
- 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o book.epub title.txt'
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key: $GITEA_TOKEN
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
base_url: https://git.skobk.in
|
base_url: https://git.skobk.in
|
||||||
files:
|
files:
|
||||||
- 'book.epub'
|
- 'book.epub'
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
Loading…
Reference in a new issue