From 9072e764c0ae8c32ca4adf6888825f5e56e1f15d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Sat, 12 Sep 2026 08:24:15 +0200 Subject: [PATCH] chore: update deployer config after final migration to new host --- deploy.php | 39 +++------------------------------------ 1 file changed, 3 insertions(+), 36 deletions(-) diff --git a/deploy.php b/deploy.php index edae1d9..ce3aa0f 100644 --- a/deploy.php +++ b/deploy.php @@ -22,7 +22,7 @@ set('keep_releases', 3); // Rsync options, mainly files/dirs to exclude $rsyncOptions = [ 'exclude' => [ - '.cursor', + '.claude', '.idea', '.vscode', '.DS_Store', @@ -70,44 +70,16 @@ $rsyncOptions = [ ]; host('prod') - ->setHostname('185.243.135.29') - ->setRemoteUser('p704161') - ->setForwardAgent(true) - ->setSshMultiplexing(true) - ->setDeployPath('/home/www/p704161/html/myep-team') - ->set('writable_mode', 'chmod') - ->set('http_user', 'p704161') - ->set('bin/php', '/usr/local/bin/php') - ->set('rsync_src', __DIR__) - ->set('rsync', $rsyncOptions) - ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://myep-team.ep-reisen.de') -; - -host('staging') - ->setHostname('185.243.135.29') - ->setRemoteUser('p704161') - ->setForwardAgent(true) - ->setSshMultiplexing(true) - ->setDeployPath('/home/www/p704161/html/myep-team-staging') - ->set('writable_mode', 'chmod') - ->set('http_user', 'p704161') - ->set('bin/php', '/usr/local/bin/php') - ->set('rsync_src', __DIR__) - ->set('rsync', $rsyncOptions) - ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://myep-team.ep-reisen.net') -; - -host('hetzner') ->setHostname('dedi10193.your-server.de') ->setRemoteUser('myepteam') ->setForwardAgent(true) ->setSshMultiplexing(true) - ->setDeployPath('/usr/home/myepteam/public_html/myep-team') + ->setDeployPath('/usr/home/myepteam/public_html/prod') ->set('bin/php', '/usr/bin/php') ->set('http_user', 'myepteam') ->set('rsync_src', __DIR__) ->set('rsync', $rsyncOptions) - ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://myep-team.ep-reisen.net') + ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://team.ep-reisen.de') ; task('deploy', [ @@ -116,7 +88,6 @@ task('deploy', [ 'deploy:lock', 'deploy:release', 'deploy:assets', - 'deploy:check-platform', 'rsync', 'deploy:shared', 'deploy:writable', @@ -127,10 +98,6 @@ task('deploy', [ 'deploy:stop-workers', ]); -task('deploy:check-platform', function () { - runLocally('composer check-platform-reqs'); -}); - task('deploy:stop-workers', function () { run('{{bin/console}} messenger:stop-workers'); });