I am switching themes on my site, when I run the production deploy, it does not display correctly. The production deployment command I am using is hugo --gc --minify
The deployment itself completes successfully. As seen on: dina.technology
Hi, @charmed, I’m glad to learn you got it working. I do want to clarify the build command in netlify.toml will always take precedence over what is defined in the UI.
I think the netlify.toml version isn’t being detected at all. That is because the build command is defined like this:
Would you please try making that edit and let us know if the changes in the netlify.toml file are detected? You might test by editing the command to echo something before building like so:
command = "echo 'this is the toml file' ; hugo --gc --minify --buildFuture -b $URL"
Note the use of the single quotes inside the double quotes.
If there are other questions about this, please let us know.