letterpress/.github/workflows/continuous_delivery.yaml

36 lines
776 B
YAML
Raw Normal View History

name: Continuous Delivery
2024-07-07 21:05:26 +00:00
on:
workflow_dispatch:
jobs:
pdf:
runs-on: ubuntu-latest
container:
image: asciidoctor/docker-asciidoctor
2024-07-07 21:05:26 +00:00
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate PDF
run: make output/book.pdf
- name: Archive PDF
uses: actions/upload-artifact@v4
with:
name: pdf
path: output/book.pdf
epub:
runs-on: ubuntu-latest
container:
image: asciidoctor/docker-asciidoctor
2024-07-07 21:05:26 +00:00
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate EPUB
run: make output/book.epub
- name: Archive EPUB
uses: actions/upload-artifact@v4
with:
name: epub
path: output/book.epub