Description
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.