Site fails to deploy

Hello, I could really use some help with this.
My build failed to deploy. I have tried to clear the cache and redeploy and nothing.](

Heres the logs
4:20:41 PM: Build ready to start
4:20:47 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)
4:20:47 PM: build-image tag: v4.10.1
4:20:47 PM: buildbot version: 7e449fda4d95fa42451b88186ca7054116649237
4:20:47 PM: Building without cache
4:20:47 PM: Starting to prepare the repo for build
4:20:47 PM: git ref refs/heads/delpoy does not exist or you do not have permission
4:20:47 PM: Creating deploy upload records
4:20:47 PM: Failing build: Failed to prepare repo
4:20:47 PM: Failed during stage ‘preparing repo’: git ref refs/heads/delpoy does not exist
4:20:47 PM: Finished processing build request in 622.895557ms

Hi @ElijahBcodes :wave:

Can you share the repository you are deploying from?

Can you also share a screenshot of the build settings from the Netlify UI?

1 Like

Thanks @ElijahBcodes

As the site you wish to build/deploy is not at the root of the repository, you will need to set the base directory. As the site also requires building, you will need to set a build command, and the publish directory is required so Netlify knows what directory contains the built site.

Check out the Create deploys > Deploy with Git documentation on configuring the build settings

And check out the Monorepos > Base directory documentation to understand the whys and hows of using this

You you continue to having issues, don’t hesitate to reply.

1 Like

I really appreciate the help. I could not fix it manually with these instructions so I wound up deleting the site and re deploying making sure to add the right build settings. Thank you!!