diff --git a/.drone.yml b/.drone.yml index 9426550..aaca031 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,17 +16,12 @@ steps: - pip install poetry - poetry install --without dev - poetry run python books.py - - name: pdf - image: linuxserver/calibre - commands: - - bash -x convert.sh - bash -x upload.sh environment: USERNAME: from_secret: nextcloud_user PASSWORD: from_secret: nextcloud_password - QTWEBENGINE_CHROMIUM_FLAGS: --no-sandbox when: branch: - master diff --git a/convert.sh b/convert.sh deleted file mode 100644 index 04561dc..0000000 --- a/convert.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -for FILE in output/* -do - ebook-polish -fpuH "${FILE}" "${FILE}" - ebook-convert "${FILE}" "${FILE%.*}.pdf" -done