1
0
Fork 0

drop deployer user from nginx group
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Denys Medvid 2022-02-09 13:30:51 +02:00
parent c0ae3c28f1
commit 952b42bf27
Signed by: DenysMedvid
GPG Key ID: DFD67019AED5D4C4
1 changed files with 3 additions and 3 deletions

View File

@ -50,9 +50,9 @@ task('deploy:add_keys', function () {
});
task('deploy:ownership', function () {
run('chown deployer:nginx -h /var/www/{{application}}/current');
run('chown deployer:nginx -R /var/www/{{application}}/shared');
run('chown deployer:nginx -R /var/www/{{application}}/releases');
run('chown deployer:deployer -h /var/www/{{application}}/current');
run('chown deployer:deployer -R /var/www/{{application}}/shared');
run('chown deployer:deployer -R /var/www/{{application}}/releases');
});
// [Optional] If deploy fails automatically unlock.