Fix idehelperissues?
This commit is contained in:
parent
bf8dda5a4c
commit
3302835838
@ -45,7 +45,10 @@
|
|||||||
],
|
],
|
||||||
"post-update-cmd": [
|
"post-update-cmd": [
|
||||||
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
|
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
|
||||||
"Illuminate\\Foundation\\ComposerScripts::postUpdate"
|
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
|
||||||
|
"@php artisan ide-helper:generate",
|
||||||
|
"@php artisan ide-helper:models --write-mixin",
|
||||||
|
"@php artisan ide-helper:meta"
|
||||||
],
|
],
|
||||||
"post-root-package-install": [
|
"post-root-package-install": [
|
||||||
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||||
|
|||||||
@ -23,7 +23,7 @@ host('production')
|
|||||||
->set('hostname', 'vps.benjamyn.love')
|
->set('hostname', 'vps.benjamyn.love')
|
||||||
->set('port', '22')
|
->set('port', '22')
|
||||||
->set('remote_user', 'root')
|
->set('remote_user', 'root')
|
||||||
->set('deploy_path', '/opt/PriceyBotPanel2');
|
->set('deploy_path', '/opt/PriceyBotPanel');
|
||||||
|
|
||||||
|
|
||||||
// Tasks
|
// Tasks
|
||||||
@ -36,8 +36,13 @@ task('npm:build', function () {
|
|||||||
run("cd {{release_path}} && {{bin/npm}} run {$command}");
|
run("cd {{release_path}} && {{bin/npm}} run {$command}");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
task('perm:fix', function () {
|
||||||
|
run("chown -R nginx:nginx /opt/PriceyBotPanel");
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// Hooks
|
// Hooks
|
||||||
after('deploy:vendors', 'npm:install');
|
after('deploy:vendors', 'npm:install');
|
||||||
after('npm:install', 'npm:build');
|
after('npm:install', 'npm:build');
|
||||||
|
after('npm:build', 'perm:fix');
|
||||||
after('deploy:failed', 'deploy:unlock');
|
after('deploy:failed', 'deploy:unlock');
|
||||||
|
|||||||
Reference in New Issue
Block a user