Trying to completely replace my Netlify live site with a new local build

Greetings. I currently have a live site deployed on Netlify, and I have a new version with major changes on my pc in a local folder. The site is plain html, css and javascript. I tried updating it from Github, but got so many conflicts that I was confused and eventually the live site was disconfigured. I feel it would be better to upload my entire local folder to replace the deployed site, but the instructions told me to use the Dropzone on the deploy page of the Netlify site. However, I don’t see the Dropzone. How can I make this folder change?

  • My Netlify site name is: https://oscarvalenzuela-visas.netlify.app/
  • I asked my question in the AI chatbox, but it recommended using the dropzone on the site deploy page. However, that dropzone doesn’t appear on my page.

Any help would be appreciated, or a link to a document explaining what to do.
Thanks.

@Ray-de-light Reading the documentation that I think you’re referring to:

If you need to update a site that you created using drag and drop, update and rebuild your project locally. Then, drag the project’s updated output folder to the deploy dropzone at the bottom of the site’s Deploys page. This will start a new site deploy with the updated files. You can also use this functionality to manually update any site that is not connected to a Git repository.

I’m interpreting this to mean that the dropzone only appears/works for sites that are not connected to a git repository.

You mention:

I tried updating it from Github, but got so many conflicts that I was confused and eventually the live site was disconfigured.

Despite your confusion with it, this makes me think that your site is connected with a git repository, and thus that the dropzone won’t appear.

While I don’t know for certain, I’d imagine unlinking from the repository would make the dropzone available to you.

This big thread indicates that once upon a time you needed Netlify’s help to do that, but that now you can do it via the UI yourself with:

Thanks so much for your answer. You’re right, I didn’t know the drop zone doesn’t appear if the site is connected via GitHub. In the end I created a new site with the redone project folder last night and swapped the url, which seems to have worked, at least to get the site back online.

I will read the documentation you referenced and work to understand the process, and perhaps find out how to connect an uploaded site to Git again. Many thanks. Netify forum assistance rocks! :+1: