Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: site:deploy, site:stage(-deploy)
-
Labels:None
-
Number of attachments :
Description
When files have been removed, they are not removed from the remote deploy area or the staging site. A new goal to clean the staging or the final deploy area would be a nice addon to this plugin.
Issue Links
Activity
Dennis Lundberg
made changes -
Lukas Theussl
made changes -
Lukas Theussl
made changes -
| Component/s | site:deploy [ 12949 ] | |
| Component/s | site:stage(-deploy) [ 14611 ] |
My use case is that I deploy the site files to a file share: \\server\sites
The sites are organized by project and version: \\server\sites\project\version
The CI server will build the site, let's say for 1.0-SNAPSHOT: \\server\sites\project\1.0-SNAPSHOT
Then, I will release this project, and I get a site for 1.0: \\server\sites\project\1.0
My issue is that I am getting toxic waste buildup by not removing the old 1.0-SNAPSHOT directory.
If I had a site:clean goal, I could build it into my release workflow.
Better yet, the release plugin could leverage it and automatically purge the old snapshot files.