Fix deploy scripts

This commit is contained in:
Tim
2025-12-18 02:37:55 +01:00
parent 61b0f87e51
commit 8e5ee99deb
2 changed files with 5 additions and 5 deletions

View File

@@ -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';
})

View File

@@ -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');