Fix deploy scripts
This commit is contained in:
@@ -9,7 +9,7 @@ set('application', 'snips');
|
|||||||
set('repository', 'git@git.loken.nl:ardent/Snips.git');
|
set('repository', 'git@git.loken.nl:ardent/Snips.git');
|
||||||
|
|
||||||
host('snips.loken.nl')
|
host('snips.loken.nl')
|
||||||
->setRemoteUser('tim')
|
->setRemoteUser('www-data')
|
||||||
->set('branch', function () {
|
->set('branch', function () {
|
||||||
return input()->getOption('branch') ?: 'master';
|
return input()->getOption('branch') ?: 'master';
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ set('git_tty', true);
|
|||||||
set('shared_dirs', ['var/log', 'var/sessions']);
|
set('shared_dirs', ['var/log', 'var/sessions']);
|
||||||
set('shared_files', ['.env.local']);
|
set('shared_files', ['.env.local']);
|
||||||
|
|
||||||
set('writable_dirs', ['.']);
|
//set('writable_dirs', ['.']);
|
||||||
set('writable_mode', 'sticky');
|
//set('writable_mode', 'sticky');
|
||||||
set('http-group', 'www-data');
|
//set('http-group', 'www-data');
|
||||||
|
|
||||||
set('migrations_config', '');
|
set('migrations_config', '');
|
||||||
set('allow_anonymous_stats', false);
|
set('allow_anonymous_stats', false);
|
||||||
|
|||||||
Reference in New Issue
Block a user