Skip to content

Commit 9c8966b

Browse files
taylorarndtCopilot
andcommitted
fix: use absolute paths and add debug output for DAISY/BRF conversion
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 604cca4 commit 9c8966b

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/build-epub.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,24 @@ jobs:
5353
sleep 2
5454
done
5555
56-
- name: Convert EPUB to DAISY 2.02 (text-only talking book)
56+
- name: Convert EPUB to DAISY 2.02 (text-only, no TTS required)
5757
continue-on-error: true
5858
run: |
5959
mkdir -p epub/daisy
6060
pipeline2/daisy-pipeline/cli/dp2 epub3-to-daisy202 \
61-
--source epub/git-going-with-github.epub \
62-
--output epub/daisy/
61+
--source "$(pwd)/epub/git-going-with-github.epub" \
62+
--output "$(pwd)/epub/daisy/" || echo "DAISY conversion failed - check dp2 logs above"
63+
ls epub/daisy/ || echo "No DAISY output produced"
6364
64-
- name: Convert EPUB to BRF (Braille)
65+
- name: Convert EPUB to BRF (Braille, no TTS required)
6566
continue-on-error: true
6667
run: |
6768
mkdir -p epub/brf
6869
pipeline2/daisy-pipeline/cli/dp2 epub3-to-pef \
69-
--source epub/git-going-with-github.epub \
70-
--output epub/brf/ \
71-
--output-format brf
70+
--source "$(pwd)/epub/git-going-with-github.epub" \
71+
--output "$(pwd)/epub/brf/" \
72+
--output-format brf || echo "BRF conversion failed - check dp2 logs above"
73+
ls epub/brf/ || echo "No BRF output produced"
7274
7375
- name: Upload EPUB artifact
7476
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)