diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index c698a57a..c5cc7fe7 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -53,9 +53,6 @@ jobs:
       - name: Build exercise templates
         run: ./build-exercise-templates.sh
 
-      - name: Archive exercise templates
-        run: zip --recurse-paths book/exercises.zip exercise-templates/
-
       - name: Setup Pages
         uses: actions/configure-pages@v2
 
diff --git a/build-exercise-templates.sh b/build-exercise-templates.sh
index cc0b30ae..42f71925 100755
--- a/build-exercise-templates.sh
+++ b/build-exercise-templates.sh
@@ -5,3 +5,5 @@ set -euxo pipefail
 mkdir exercise-templates
 cargo run --bin exerciser src/exercises/bare-metal/compass.md exercise-templates/compass
 cargo run --bin exerciser src/exercises/bare-metal/rtc.md exercise-templates/rtc
+
+zip --recurse-paths book/exercises.zip exercise-templates/