letterpress/.github/workflows/continuous_delivery.yaml
Dunya Kirkali 1890774875
Enable vale for prose linting (#3)
* Enable vale in CI

* Add vale config

* Tweak vale

* Update config

* Update .gitignore

* Switch back

* Rename CI

* Add badges

* Tidy up CI

* Change image

* Configure vale

* Delint

* Update README
2024-09-28 22:58:25 +02:00

36 lines
776 B
YAML

name: Continuous Delivery
on:
workflow_dispatch:
jobs:
pdf:
runs-on: ubuntu-latest
container:
image: asciidoctor/docker-asciidoctor
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
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