Drop a link: .url/.txt in _incoming/ is downloaded, verified as a PDF, stored as the book's source PDF; workflow also triggers on link files
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
# Drop a PDF in _incoming/ and commit it. This job turns it into a finished audiobook folder and commits that back.
|
||||
# Drop a PDF (or a .url/.txt file with a link to a PDF) in _incoming/ and commit it. This job turns it into a finished audiobook folder and commits that back.
|
||||
# No bot is involved: every step is a deterministic script in _pipeline/.
|
||||
name: audiobook
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, 'test/**'] # test/** lets the pipeline be proven on a branch without touching main
|
||||
paths: ['_incoming/*.pdf'] # only a PDF landing in _incoming/ starts a run
|
||||
paths: ['_incoming/*.pdf', '_incoming/*.PDF', '_incoming/*.url', '_incoming/*.URL', '_incoming/*.txt'] # a PDF or a link file landing in _incoming/ starts a run
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
pdf:
|
||||
description: 'PDF path inside the repo (empty = every PDF waiting in _incoming/; a dry run with nothing waiting uses the Clark book as a regression sample)'
|
||||
description: 'PDF or .url/.txt link-file path inside the repo (empty = everything waiting in _incoming/; a dry run with nothing waiting uses the Clark book as a regression sample)'
|
||||
required: false
|
||||
default: ''
|
||||
voice_endpoint:
|
||||
|
||||
Reference in New Issue
Block a user