image: debian/stable packages: - pandoc - wkhtmltopdf - poppler-utils sources: - https://git.sr.ht/~boringcactus/crowbar-spec tasks: - page-count: | cd crowbar-spec pandoc -s -o ../spec.pdf -t html -M "TITLE=Crowbar Specification" *.md cd .. pdfinfo spec.pdf | grep Pages artifacts: - spec.pdf