[ '.claude', '.cursor', '.idea', '.vscode', '.DS_Store', '.ddev', '.git', '.github', '.jj', 'node_modules', '.editorconfig', '.env.dev.local', '.env.dev.local.php', '.env.test', '.env.test.local', '.gitignore', '.nvmrc', '.php-cs-fixer.cache', '.php-cs-fixer.dist.php', '.phpunit.result.cache', 'config/secret/', 'CLAUDE.md', 'cypress*', 'deploy.php', 'docs', 'package.json', 'package-lock.json', '*.http', 'http-client*.json', 'postcss.config.js', 'phpunit.xml.dist', 'public/.htaccess', 'ray.php', 'tailwind.config.js', 'webpack.config.js', 'bin/.phpunit', 'temp/', 'tests/', 'uploads/', 'var/', ], 'exclude-file' => false, 'include' => [], 'include-file' => false, 'filter' => [], 'filter-file' => false, 'filter-perdir' => false, 'flags' => 'rz', 'options' => ['delete', 'copy-links', 'chmod=D755,F664'], 'timeout' => 300, ]; host('prod') ->setHostname('185.243.135.29') ->setRemoteUser('p704161') ->setForwardAgent(true) ->setSshMultiplexing(true) ->setDeployPath('/home/www/p704161/html/myep') ->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://my.ep-reisen.de') ; host('staging') ->setHostname('185.243.135.29') ->setRemoteUser('p704161') ->setForwardAgent(true) ->setSshMultiplexing(true) ->setDeployPath('/home/www/p704161/html/myep-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://my.ep-reisen.net --web-basic-auth=myep:staging') ; task('deploy', [ 'deploy:info', 'deploy:setup', 'deploy:lock', 'deploy:release', 'deploy:assets', 'rsync', 'deploy:shared', 'deploy:writable', 'deploy:cache:clear', 'database:migrate', 'cachetool:clear:opcache', 'deploy:publish', 'deploy:stop-workers', ]); task('deploy:assets', function () { runLocally('ddev exec npm ci'); runLocally('ddev exec npm run build'); }); task('deploy:stop-workers', function () { run('{{bin/console}} messenger:stop-workers'); }); after('deploy:failed', 'deploy:unlock');