From 17751af13dafcd6b729f63254394e77f82ab0353 Mon Sep 17 00:00:00 2001
From: Giles Dring <giles@dringtech.com>
Date: Thu, 20 Jun 2024 12:17:40 +0100
Subject: [PATCH] Customise builder

---
 .github/workflows/build-site.yml | 3 +++
 deno.json                        | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml
index 96d0b61..7a6f439 100644
--- a/.github/workflows/build-site.yml
+++ b/.github/workflows/build-site.yml
@@ -20,9 +20,12 @@ jobs:
   build:
     runs-on: ubuntu-latest
 
+    # Packaged action to build a Lume site. See https://github.com/dringtech/lume-build
     steps:
       - name: Build the site
         uses: dringtech/lume-build@v2
+        with:
+          site-build-command: deno task build
 
   # Deploy job
   deploy:
diff --git a/deno.json b/deno.json
index 38ed0f2..80e97ba 100644
--- a/deno.json
+++ b/deno.json
@@ -6,7 +6,7 @@
   "tasks": {
     "lume": "echo \"import 'lume/cli.ts'\" | deno run -A --unstable-ffi -",
     "build": "deno task vr provision && deno task lume",
-    "serve": "deno task vr provision && deno task lume -s",
+    "serve": "deno task lume -s",
     "vr": "deno run -qA https://code.velociraptor.run"
   },
   "compilerOptions": {