feat: Add EPUB generation tool and workflow

- Introduced a new script to build an EPUB from markdown files, enhancing documentation accessibility.
- Added a GitHub Actions workflow for automated EPUB builds on version tag pushes.
- Created the initial EPUB file 'claude-howto-guide.epub' for distribution.

This update streamlines the process of creating and releasing the Claude How-To guide in EPUB format.
This commit is contained in:
Willy Hardy
2025-12-09 12:07:40 -05:00
parent a737d687eb
commit 57ff23f9e0
3 changed files with 181 additions and 37 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Build and Release EPUB
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Build EPUB
run: uv run scripts/build_epub.py
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: claude-howto-guide.epub
generate_release_notes: true