Allow deployer to remove folder/files when deploying #3252
nvision-luxembourg
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I did not find any doc about this, maybe it's alresay done.
If not, is it possible to add a feature that allow deployer to remove files that are not needed.
It can be configured as the shared_dirs/files and why not included in the cleanup.php with the same process as done in shared.php but with an rm instead of a mkdir
Differents variables like :
With a function like
So we can remove all files that aren't needed for the application (ex: docker files and stuff)
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions