Compare commits

...
2 Commits
2 changed files with 5 additions and 37 deletions
+2 -1
View File
@@ -4,11 +4,12 @@ zenstruck_schedule:
mailer: mailer:
service: mailer service: mailer
default_to: [email protected] default_to: [email protected]
default_from: team@ep-reisen.de default_from: noreply@ep-reisen.de
subject_prefix: "[E&P-Team]" subject_prefix: "[E&P-Team]"
schedule_extensions: schedule_extensions:
email_on_failure: email_on_failure:
enabled: true
to: [email protected] to: [email protected]
tasks: tasks:
+3 -36
View File
@@ -22,7 +22,7 @@ set('keep_releases', 3);
// Rsync options, mainly files/dirs to exclude // Rsync options, mainly files/dirs to exclude
$rsyncOptions = [ $rsyncOptions = [
'exclude' => [ 'exclude' => [
'.cursor', '.claude',
'.idea', '.idea',
'.vscode', '.vscode',
'.DS_Store', '.DS_Store',
@@ -70,44 +70,16 @@ $rsyncOptions = [
]; ];
host('prod') 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') ->setHostname('dedi10193.your-server.de')
->setRemoteUser('myepteam') ->setRemoteUser('myepteam')
->setForwardAgent(true) ->setForwardAgent(true)
->setSshMultiplexing(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('bin/php', '/usr/bin/php')
->set('http_user', 'myepteam') ->set('http_user', 'myepteam')
->set('rsync_src', __DIR__) ->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions) ->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', [ task('deploy', [
@@ -116,7 +88,6 @@ task('deploy', [
'deploy:lock', 'deploy:lock',
'deploy:release', 'deploy:release',
'deploy:assets', 'deploy:assets',
'deploy:check-platform',
'rsync', 'rsync',
'deploy:shared', 'deploy:shared',
'deploy:writable', 'deploy:writable',
@@ -127,10 +98,6 @@ task('deploy', [
'deploy:stop-workers', 'deploy:stop-workers',
]); ]);
task('deploy:check-platform', function () {
runLocally('composer check-platform-reqs');
});
task('deploy:stop-workers', function () { task('deploy:stop-workers', function () {
run('{{bin/console}} messenger:stop-workers'); run('{{bin/console}} messenger:stop-workers');
}); });