Skip to content

Commit 3bfa27f

Browse files
taylorarndtCopilot
andcommitted
fix: provide --source + --data (empty TTS config) for epub3-to-pef
DAISY Pipeline epub3-to-pef requires both --source (EPUB input) and --data (TTS config file) even for braille-only conversion. Providing a minimal empty TTS config to satisfy the requirement. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b101c1c commit 3bfa27f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build-epub.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@ jobs:
5757
continue-on-error: true
5858
run: |
5959
mkdir -p epub/brf
60+
# Create a minimal TTS config (required by DAISY Pipeline even for braille scripts)
61+
echo '<?xml version="1.0" encoding="UTF-8"?><config></config>' > /tmp/tts-config.xml
6062
pipeline2/daisy-pipeline/cli/dp2 epub3-to-pef \
61-
--data "$(pwd)/epub/git-going-with-github.epub" \
63+
--source "$(pwd)/epub/git-going-with-github.epub" \
64+
--data /tmp/tts-config.xml \
6265
--output "$(pwd)/epub/brf/" \
6366
--output-file-format "(-daisy-locale: en-US)" || echo "BRF conversion failed - check dp2 logs above"
6467
ls epub/brf/ || echo "No BRF output produced"

0 commit comments

Comments
 (0)