My netlify site name is prooftoys.netlify.app. I have searched, looked at recent posts, and asked the chatbot, but I don’t see my issue anywhere.
I have used Netlify for years through the CLI, using manual deploys. (I build the site locally with Hugo first.) Today suddenly when I issue my deploy in the same way as always:
$ netlify deploy --site prooftoys.netlify.app --dir public
The response is:
? Multiple possible build commands found (Use arrow keys or type to search)
❯ [Hugo] ‘hugo’
[Zola] ‘zola build’
Netlify wants me to choose a build command, but I just want to manually deploy as usual.
The netlify deploy command seems to be trying to automatically find a build command even when not building. In my case, renaming config.toml to hugo.toml has worked around this issue.
You could just change the build command to “echo ‘No build command…’” in your netlify.toml
I’m assuming you are running a Hugo build prior to the manual deploy. If you have your netlify.toml setup correctly, you only have to run the following.
netlify deploy --prod
For turning off automatic builds (info)
If you don’t want to build automatic, you should check that automatic builds are turned off.