From b7454d9c299e2b2a90d0e55157b1e7f17452f4b5 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Tue, 20 Oct 2020 10:30:35 -0600 Subject: fix CI --- .build.yml | 15 +++++++++++++++ _build.yml | 13 ------------- 2 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 .build.yml delete mode 100644 _build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..df36fc2 --- /dev/null +++ b/.build.yml @@ -0,0 +1,15 @@ +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 diff --git a/_build.yml b/_build.yml deleted file mode 100644 index 3276c5f..0000000 --- a/_build.yml +++ /dev/null @@ -1,13 +0,0 @@ -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 *.md - cd .. - pdfinfo spec.pdf | grep Pages -- cgit v1.2.3