How to deploy a subfolder

I’m deploying a subfolder named frontend from my github repo but even after I selected base directory as frontend my website didn’t get deployed. what to do?

Which site? You haven’t shared anything for us to check.

Site ID :cab11733-1315-48e9-ac1d-ef6c9b6b4c45 url: https://crypto-estate02.netlify.app/

@sroy That site does not exist:

What folder are you trying to deploy?

I’m trying to deploy frontend folder from the given repo.(repo link given above)

@sroy For your Build settings try:

Base directory
frontend

Package directory
LEAVE BLANK (USE THE DEFAULT)

Build command
CI= npm run build

Publish directory
build

Functions directory
LEAVE BLANK (USE THE DEFAULT)


Still not working.

@sroy Make sure the Build command is as I supplied it.

It should be:

CI= npm run build

You seem to have written:

CI=npm run build


still remains the same.

@sroy Have you actually triggered a new build since making the changes?

The build settings only take effect when the next build is run.

I just deployed, now it is showing to be deployed successfully but not a single component is showing. The entire site is blank.
the site on localhost:


after deployment

@sroy Check the developer console to see the errors of your JavaScript & CSS not loading:

When I run your build locally with npm run build I do not see a CryptoEstate subfolder in build.

I see:

You should delete the homepage declaration in the package.json:

Now it’s working properly, Thanks for your help! @nathanmartin