Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Clean/delete from remote directory before deploy #169

Open
dkr88 opened this issue Jan 22, 2021 · 1 comment
Open

Clean/delete from remote directory before deploy #169

dkr88 opened this issue Jan 22, 2021 · 1 comment

Comments

@dkr88
Copy link

dkr88 commented Jan 22, 2021

Is there a way to clean/delete files from a remote target automatically before deploying the new files?

The remove_on_change option isn't suitable, because the files should only be removed at the time of deployment.

Currently the only way I see to do it is to use the Delete command first, and then Deploy separately. This isn't ideal because it's a manual step that requires a confirmation (do you want to delete local files as well?).

@davay42
Copy link

davay42 commented Apr 16, 2021

Yeah! That's very strange that there's no such option for FTP.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants