chore: update rsync excludes in deployer config

This commit is contained in:
Björn Fromme
2026-03-16 12:02:55 +01:00
parent 667324df69
commit 71a46c6b63
+8 -2
View File
@@ -18,7 +18,6 @@ add('shared_dirs', [
add('shared_files', [ add('shared_files', [
'public/.htaccess', 'public/.htaccess',
'.env.local.php', '.env.local.php',
'var/data.db',
]); ]);
set('keep_releases', 3); set('keep_releases', 3);
@@ -26,12 +25,15 @@ set('keep_releases', 3);
// Rsync options, mainly files/dirs to exclude // Rsync options, mainly files/dirs to exclude
$rsyncOptions = [ $rsyncOptions = [
'exclude' => [ 'exclude' => [
'.claude',
'.cursor',
'.idea', '.idea',
'.vscode', '.vscode',
'.DS_Store', '.DS_Store',
'.ddev', '.ddev',
'.git', '.git',
'.github', '.github',
'.jj',
'node_modules', 'node_modules',
'.editorconfig', '.editorconfig',
'.env.dev.local', '.env.dev.local',
@@ -44,14 +46,18 @@ $rsyncOptions = [
'.php-cs-fixer.dist.php', '.php-cs-fixer.dist.php',
'.phpunit.result.cache', '.phpunit.result.cache',
'config/secret/', 'config/secret/',
'CLAUDE.md',
'cypress*',
'deploy.php', 'deploy.php',
'docs',
'package.json', 'package.json',
'package-lock.json', 'package-lock.json',
'*.http', '*.http',
'http-client.private.env.json', 'http-client*.json',
'postcss.config.js', 'postcss.config.js',
'phpunit.xml.dist', 'phpunit.xml.dist',
'public/.htaccess', 'public/.htaccess',
'ray.php',
'tailwind.config.js', 'tailwind.config.js',
'webpack.config.js', 'webpack.config.js',
'bin/.phpunit', 'bin/.phpunit',