-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.php
43 lines (35 loc) · 1.43 KB
/
deploy.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
namespace Deployer;
require_once(__DIR__ . '/vendor/sourcebroker/deployer-loader/autoload.php');
new \SourceBroker\DeployerExtendedTypo3\Loader();
set('repository', '[email protected]:Starraider/devNewProject.git');
set('web_path', 'public/');
set('composer_channel', 2);
set('shared_files', ['.env']);
host('live')
->hostname('pxxxxxx.mittwaldserver.info')
->user('pxxxxxx')
->set('branch', 'main')
->multiplexing(true)
->addSshOption('StrictHostKeyChecking', 'no')
->set('writable_mode', 'chmod')
->set('fetch_method', 'curl')
->set('bin/php', '/usr/local/bin/php')
->set('bin/composer', '/usr/local/bin/composer')
->set('public_urls', ['http://pxxxxxx.mittwaldserver.info/jeh-seitz/live/current/public/'])
->set('deploy_path', '/home/www/pxxxxxx/html/devNewProject/live');
host('beta')
->hostname('pxxxxxx.mittwaldserver.info')
->user('pxxxxxx')
->set('branch', 'develop')
->addSshOption('StrictHostKeyChecking', 'no')
->set('writable_mode', 'chmod')
->set('fetch_method', 'curl')
->set('bin/php', '/usr/local/bin/php')
->set('bin/composer', '/usr/local/bin/composer')
->set('public_urls', ['http://pxxxxxx.mittwaldserver.info/jeh-seitz/beta/current/public/'])
->set('deploy_path', '/home/www/pxxxxxx/html/devNewProject/beta');
host('local')
->hostname('local')
->set('deploy_path', getcwd())
->set('public_urls', ['https://devnewproject.ddev.site']);