Skip to content

Feature Request: exclude_from_clean_slate argument #357

Open
@dogukandemir

Description

@dogukandemir

It would be good to have exclude option in dangerous-clean-slate case.

I have a scenario that I need to keep one specific folder on ftp but remove everything (except that specific folder) before deployment. I couldn't find a way to achieve this with FTP-Deploy-Action.

As far as I understand, you're using https://github.com/SamKirkland/ftp-deploy in this action and https://github.com/SamKirkland/ftp-deploy uses https://github.com/patrickjuchli/basic-ftp. basic-ftp client doesn't support excluding specific folder/file. I assume this is the reason of not having exclude option for dangerous-clean-slate.

What do you think to have contribution on basic-ftp, ftp-deploy and ftp-deploy-action to support this feature?

PS: exclude_from_clean_slate is first naming idea that came to my mind. If you think there could be better naming, we can discuss about it.

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