From 3b6395c696aaa16dcb9535389a6b2343180a676d Mon Sep 17 00:00:00 2001
From: "Glenn Y. Rolland" <glenux@glenux.net>
Date: Tue, 21 Dec 2021 15:33:51 +0100
Subject: [PATCH] ci: add missing steps

---
 .github/workflows/build-and-publish.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml
index 4895664..d03518b 100644
--- a/.github/workflows/build-and-publish.yml
+++ b/.github/workflows/build-and-publish.yml
@@ -58,6 +58,20 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
+      - name: Checkout code
+        uses: actions/checkout@v2
+
+      - name: Build HTML for docs
+        run: ./scripts/gx-teaching . build-docs-html
+
+      - name: Build PDF for docs
+        run: ./scripts/gx-teaching . build-slides-pdf
+
+      - name: Build HTML for slides
+        run: ./scripts/gx-teaching . build-slides-html
+
+      - name: Build PDF for slides
+        run: ./scripts/gx-teaching . build-slides-pdf
 
   push-docker-image:
     needs: test-docker-image