Fixed deploy

This commit is contained in:
ben committed 2023-10-12 01:28:34 -04:00
1 parent cfa9be4705
commit bf8dda5a4c
2 files changed
+2 -6

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ require 'contrib/npm.php';
// Config
set('git_ssh_command', 'ssh');
set('repository', 'benhub/PriceyBot/PriceyBotPanel.git');
set('repository', 'ssh://git@ssh.git.lovelynet.net:9001/PriceyBot/PriceyBotPanel.git');
add('shared_files', []);
add('shared_dirs', []);
@@ -33,10 +33,10 @@ task('npm:build', function () {
'staging' => 'development',
default => 'production'
};
run("cd {{release_path}} && {{bin/npm}} run {$command}");
});
// Hooks
after('deploy:vendors', 'npm:install');
after('npm:install', 'npm:build');