chore: limit number of releases to be kept on prod

This commit is contained in:
Björn Fromme
2025-03-19 11:44:49 +01:00
parent 30d6db0cea
commit fde44de56d
+2 -1
View File
@@ -77,6 +77,7 @@ host('prod')
->set('bin/php', '/usr/bin/php82') ->set('bin/php', '/usr/bin/php82')
->set('rsync_src', __DIR__) ->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions) ->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') ->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('bin/php', '/usr/local/bin/php')
->set('rsync_src', __DIR__) ->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions) ->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') ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_or_current_path}}/public/ --web-url=https://myep-team.dreipunktnull.net')
; ;