Skip to content

Documentation is a bit unclear: Does it delete files automatically + how to exclude from deletion? #519

@mandrasch

Description

@mandrasch

Hey,

thanks so much for providing this as open source! 🙏 👏

I have the following use case:

  1. SvelteKit static site project (just .html / .js / .css), file names change on each build. I don't want old files from previous builds in my target directory (obviously).
  2. There is a directory called /blog (WordPress) in my target directory, /blog does not exist in my repository (remote-only). It should be kept.

I couldn't really get the information from README:

  1. Does FTP-Deploy delete old files automatically? Or do I need to enable dangerous-clean-slate=true?
  2. For not deleting /blog on action runs, my plan was to put this into excluded to keep it remotely?
  3. If I activatedangerous-clean-slate=true, it states Deletes ALL contents of server-dir, even items in excluded with 'exclude' argument - therefore my /blog directory would be deleted on remote? 🤔

Long story short: I'm a bit confused if FTP-Deploy currently supports my use case?

Thx very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions