Archived
Fix idehelperissues?
This commit is contained in:
1 parent
bf8dda5a4c
commit
3302835838
2 files changed
+10
-2
No files matched your search
+6
-1
@@ -23,7 +23,7 @@ host('production')
|
||||
->set('hostname', 'vps.benjamyn.love')
|
||||
->set('port', '22')
|
||||
->set('remote_user', 'root')
|
||||
->set('deploy_path', '/opt/PriceyBotPanel2');
|
||||
->set('deploy_path', '/opt/PriceyBotPanel');
|
||||
|
||||
|
||||
// Tasks
|
||||
@@ -36,8 +36,13 @@ task('npm:build', function () {
|
||||
run("cd {{release_path}} && {{bin/npm}} run {$command}");
|
||||
});
|
||||
|
||||
task('perm:fix', function () {
|
||||
run("chown -R nginx:nginx /opt/PriceyBotPanel");
|
||||
});
|
||||
|
||||
|
||||
// Hooks
|
||||
after('deploy:vendors', 'npm:install');
|
||||
after('npm:install', 'npm:build');
|
||||
after('npm:build', 'perm:fix');
|
||||
after('deploy:failed', 'deploy:unlock');
|
||||
Reference in new issue
Block a user