chore: configure nixpacks provider settings for Hugo static site deployment

This commit is contained in:
Greg 2025-05-25 16:07:56 +02:00
parent 408f17a9ca
commit 1fca117057

View File

@ -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"]
paths = ["/public"]
# Add a custom plan to ensure the static provider is recognized
[plan]
providers = ["static"]