We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd8f0d commit 104b6dbCopy full SHA for 104b6db
.github/workflows/manual-epub.yml
@@ -15,7 +15,8 @@ jobs:
15
apt-get install -y tidy
16
17
- name: Convert HTML to XHTML with Tidy
18
- run: tidy -asxhtml -utf8 -o user_guide/index.xhtml user_guide/index.html
+ # Tidy returns 0 when all's well, 1 when there are warnings and 2 when there are errors.
19
+ run: tidy -asxhtml -utf8 -o user_guide/index.xhtml user_guide/index.html || [ $? -eq 0 -o $? -eq 1 ]
20
21
- name: Convert ebook
22
run: ebook-convert user_guide/index.xhtml koreader_user_guide.epub
0 commit comments