Do not convert to pdf
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2023-03-05 17:29:03 +01:00
parent be076d5093
commit 8e78e3236c
2 changed files with 0 additions and 12 deletions

View File

@ -16,17 +16,12 @@ steps:
- pip install poetry - pip install poetry
- poetry install --without dev - poetry install --without dev
- poetry run python books.py - poetry run python books.py
- name: pdf
image: linuxserver/calibre
commands:
- bash -x convert.sh
- bash -x upload.sh - bash -x upload.sh
environment: environment:
USERNAME: USERNAME:
from_secret: nextcloud_user from_secret: nextcloud_user
PASSWORD: PASSWORD:
from_secret: nextcloud_password from_secret: nextcloud_password
QTWEBENGINE_CHROMIUM_FLAGS: --no-sandbox
when: when:
branch: branch:
- master - master

View File

@ -1,7 +0,0 @@
#!/usr/bin/env bash
for FILE in output/*
do
ebook-polish -fpuH "${FILE}" "${FILE}"
ebook-convert "${FILE}" "${FILE%.*}.pdf"
done