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