chore: configure nixpacks provider settings for Hugo static site deployment
This commit is contained in:
parent
408f17a9ca
commit
1fca117057
@ -1,3 +1,8 @@
|
|||||||
|
# Explicitly set the provider to 'static' to help with detection
|
||||||
|
[provider]
|
||||||
|
name = "static"
|
||||||
|
website = "https://gohugo.io/"
|
||||||
|
|
||||||
[phases.setup]
|
[phases.setup]
|
||||||
aptPkgs = ["hugo"]
|
aptPkgs = ["hugo"]
|
||||||
|
|
||||||
@ -9,3 +14,7 @@ HUGO_VERSION = "0.147.5"
|
|||||||
|
|
||||||
[[ nixpacks.included_files ]]
|
[[ nixpacks.included_files ]]
|
||||||
paths = ["/public"]
|
paths = ["/public"]
|
||||||
|
|
||||||
|
# Add a custom plan to ensure the static provider is recognized
|
||||||
|
[plan]
|
||||||
|
providers = ["static"]
|
||||||
Loading…
x
Reference in New Issue
Block a user