Deployment config in separate file doesn't work

hi all, I want to configure my deployment config in a separate file then the rest of hugo. unfortunately - it does not work. if i put the file’s contents in config/_default/config.toml, it works, if i put it in 'config/_default/deployment.toml`, it does not (“Error: no deployment targets found”).

any help apprecitated … !

# deployment.toml (not working), OR
# part of config.toml (working)

[[deployment.targets]]
name = "aws"
URL = "s3://www.mysite.de?region=eu-central-1"

config/_default/deployment.toml

[[targets]]
name = "aws"
URL = "s3://www.mysite.de?region=eu-central-1"

[[targets]]
name = "foo"
URL = "bar"
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.