Site does not load CSS when build & deployed via `netlify build && netlify deploy --prod`

We try to have our own CI/CD. We want to deploy the website using netlify CLI. The results of auto deploy after connecting to Github and CLI differ. Attached logs and deploys urls

A. Auto deploy via Github connect

  1. Log: everything fine here · GitHub
  2. UI:

B. Deploy via CLI

  1. Log: netlify-build-deploy.log · GitHub
  3. Netlfiy.toml
# netlify.toml

  command = "npm run build"
  publish = ".next"

  NODE_VERSION = "18" 

How can I fix this issue?

Howdy @deepak and welcome! :cowboy_hat_face:

Could you share the link in Netlify for these deploys to help us take a closer look?

These are the Netlify links.
For case A:
For case B:

As mentioned in the helpdesk, the correct command is netlify deploy --build --prod.