With 2.23.0 I could use:
netlify deploy --prod
With 2.24.0 I must add the --dir
flag:
netlify deploy --prod --dir .
Otherwise the site becomes inaccessible and this message shows up:
Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.