Prune by default after deploy

This commit is contained in:
David Heinemeier Hansson
2023-01-08 12:11:44 +01:00
parent 9e7ce59b85
commit 5979f1d43e
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ namespace :mrsk do
task fresh: [ "server:bootstrap", "registry:login", "app:deliver", "traefik:start", "app:stop", "app:run" ]
desc "Push the latest version of the app, ensure Traefik is running, then restart app"
task deploy: [ "registry:login", "app:deliver", "traefik:start", "app:stop", "app:run" ]
task deploy: [ "registry:login", "app:deliver", "traefik:start", "app:stop", "app:run", "prune" ]
desc "Rollback to VERSION=x that was already run as a container on servers"
task rollback: [ "app:restart" ]