A GitHub Actions based utility to run book production software
Provides manually triggerable GitHub Action to do the following for OBP books:
- Run archive-pdf-urls: this sends all links found in the PDF edition to the Internet Archive Wayback Machine
- Run chapter-splitter: this creates individual chapter PDFs from full PDF edition
- Run epublius: this creates HTML edition from EPUB edition
- Run cit-ex-obp-loader: this extracts citation data and writes it to Thoth
For PDF-only books, only 1 and 2 are run.
Newly created chapter PDFs and HTML edition are uploaded to OBP AWS S3 bucket. In Thoth, chapter PDF/HTML Publications/Locations are created and given appropriate Landing Pages/Full Text URLs.
On the Action page, select the "Run workflow" dropdown. Input the book's DOI in the appropriate field then click the green "Run workflow" button.
Only the last four digits of the DOI should be supplied (e.g. the input value 9999
will expand to https://doi.org/10.11647/OBP.9999
).
- Full finalised metadata in Thoth (except chapter PDF/HTML Publications/Locations)
- PDF edition in OBP AWS S3 bucket
- EPUB edition in OBP AWS S3 bucket (unless book is PDF-only)
Requires read/write access to both Thoth and OBP AWS S3 bucket. Appropriate credentials should be stored in repository so no manual input is needed.