diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml
index 0c0f182..543f0b9 100644
--- a/.forgejo/workflows/main.yaml
+++ b/.forgejo/workflows/main.yaml
@@ -16,12 +16,14 @@ jobs:
       - name: 'fmt'
         run: |
           make tidy no-dirty
-      - name: 'check'
-        run: |
-          make check no-dirty
       - name: 'build'
         run: |
           make build
+      # we need the build step done before the go checks can run because we need
+      # the index.html file generated by the hugo build
+      - name: 'check'
+        run: |
+          make check no-dirty
       - name: 'deploy'
         run: |
           umask 077