Skip to content

Commit

Permalink
Add page for keep_releases setting of deploy:cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikong committed Jun 28, 2012
1 parent 840d8b3 commit 8a7a785
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions source/settings/keep_releases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: keep_releases
group: Deploy settings
brief: Releases to keep on cleanup.
---

The number of releases to keep on [deploy:cleanup](../tasks/deploy_cleanup.html). Defaults to `5`.
4 changes: 2 additions & 2 deletions source/tasks/deploy_cleanup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ brief: Clean up old releases.
---

Clean up old releases. By default, the last 5 releases are kept on
each server (though you can change this with the keep_releases setting).
each server (though you can change this with the [keep_releases](../settings/keep_releases.html) setting).
All other deployed revisions are removed from the servers.

$ mina deploy:cleanup
-----> Cleaning up old releases (keeping 5)

This may be invoked in the command line or as a subtask.
This may be invoked in the command line or as a subtask.

0 comments on commit 8a7a785

Please sign in to comment.