From fde44de56dbacf3f62a17133ff797dec342b9a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 19 Mar 2025 11:44:49 +0100 Subject: [PATCH] chore: limit number of releases to be kept on prod --- deploy.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.php b/deploy.php index df23907..f5c04a1 100644 --- a/deploy.php +++ b/deploy.php @@ -77,6 +77,7 @@ host('prod') ->set('bin/php', '/usr/bin/php82') ->set('rsync_src', __DIR__) ->set('rsync', $rsyncOptions) + ->set('keep_releases', 3) ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_or_current_path}}/public/ --web-url=https://myep-team.ep-reisen.de') ; @@ -90,7 +91,7 @@ host('staging') ->set('bin/php', '/usr/local/bin/php') ->set('rsync_src', __DIR__) ->set('rsync', $rsyncOptions) - ->set('keep_releases', 5) + ->set('keep_releases', 3) ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_or_current_path}}/public/ --web-url=https://myep-team.dreipunktnull.net') ;