Netlify CLI deployment with netlify.toml in the root uploading directory

Hello Netlify Team,

I’m deploying the React Vite SPA site using the CLI to factorlabs-vc-demo.netlify.app

command:

netlify deploy --prod --dir="React_Built_SPA" --auth="PAT" --site="factorlabs-vc-demo" --message="Deployment via CLI" --json > deploy-output.json

In my root directory, I have a netlify.toml file with a redirect rule.

In the CLI, I don’t see the option to show the TOML file with the configuration. I also checked and added, for example, the headers. Noting from the root toml file applied.

Please help,
Mateusz

OK, I used _redirects file → toml is used with the Netilify Build, deploy the _redirects file to root folder works