From 1fca1170577dbfb896a7975005769d7ef73e4032 Mon Sep 17 00:00:00 2001 From: Greg Date: Sun, 25 May 2025 16:07:56 +0200 Subject: [PATCH] chore: configure nixpacks provider settings for Hugo static site deployment --- nixpacks.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nixpacks.toml b/nixpacks.toml index 8f6dc4e..0fb710c 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,3 +1,8 @@ +# Explicitly set the provider to 'static' to help with detection +[provider] +name = "static" +website = "https://gohugo.io/" + [phases.setup] aptPkgs = ["hugo"] @@ -8,4 +13,8 @@ cmds = ["hugo --minify"] HUGO_VERSION = "0.147.5" [[ nixpacks.included_files ]] -paths = ["/public"] \ No newline at end of file +paths = ["/public"] + +# Add a custom plan to ensure the static provider is recognized +[plan] +providers = ["static"] \ No newline at end of file