updaetd deployer
This commit is contained in:
+5
-5
@@ -9,7 +9,7 @@ set('writable_use_sudo', true);
|
||||
set('clear_use_sudo', true);
|
||||
set('cleanup_use_sudo', true);
|
||||
set('keep_releases', 1);
|
||||
set('repository', 'git@absdev.github.com:magabsdev/thredary.git');
|
||||
set('repository', 'git@github.com:magabsdev/Helpdesk.git');
|
||||
set('node_version', '22.12.0');
|
||||
set('allow_anonymous_stats', false);
|
||||
|
||||
@@ -19,15 +19,15 @@ add('writable_dirs', ['storage', 'bootstrap/cache']);
|
||||
|
||||
// Host Definitions
|
||||
host('main')
|
||||
->set('hostname', 'thredary.com')
|
||||
->set('hostname', 'helpdesk.absdev.net')
|
||||
->set('remote_user', 'mag')
|
||||
->set('branch', 'main')
|
||||
->set('deploy_path', '/var/www/thredary');
|
||||
->set('deploy_path', '/var/www/helpdesk_dev');
|
||||
host('develop')
|
||||
->set('hostname', 'thredary.com')
|
||||
->set('hostname', 'helpdesk.mlba.dev')
|
||||
->set('remote_user', 'mag')
|
||||
->set('branch', 'develop')
|
||||
->set('deploy_path', '/var/www/thredary_dev');
|
||||
->set('deploy_path', '/var/www/helpdesk_dev');
|
||||
|
||||
task('build', function (): void {
|
||||
run('export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && nvm use {{node_version}} && cd {{release_path}} && npm ci --no-audit --no-fund');
|
||||
|
||||
Reference in New Issue
Block a user