process: keep the original run.log when a re-run renders nothing; dispatch input to override the voice URL (testing); drop netcheck

This commit is contained in:
Audiobook Producer
2026-10-18 01:50:11 -05:00
parent 153153010e
commit 9cba035adc
4 changed files with 13 additions and 24 deletions
+5 -1
View File
@@ -12,6 +12,10 @@ on:
description: 'PDF path inside the repo (empty = every PDF waiting in _incoming/)'
required: false
default: 'books/clark-glenn/the-man-who-tapped-the-secrets-of-the-universe/The Man Who Tapped the Secrets of the Universe - by Glenn Clark (Walter Russell).pdf'
voice_endpoint:
description: 'Testing only: use this voice URL instead of the default (for example to prove a failed voice run commits nothing)'
required: false
default: ''
dry_run:
description: 'true = text stages only, voice reachability check, push-permission test, commit nothing'
type: boolean
@@ -31,7 +35,7 @@ jobs:
# The commit-back commit carries [skip ci] and removes the PDF from _incoming/, so it cannot start another run.
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
env:
AUDIOBOOK_VOICE_ENDPOINT: ${{ vars.AUDIOBOOK_VOICE_ENDPOINT || 'http://192.168.1.202:8090/tts' }}
AUDIOBOOK_VOICE_ENDPOINT: ${{ (github.event_name == 'workflow_dispatch' && inputs.voice_endpoint) || vars.AUDIOBOOK_VOICE_ENDPOINT || 'http://192.168.1.202:8090/tts' }}
AUDIOBOOK_WORK_DIR: /tmp/audiobook-work
AUDIOBOOK_REQUIRE_OCR: '1'
BRANCH: ${{ github.ref_name }}