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