-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Command "deploy" is not defined. despite including custom recipe #3153
Copy link
Copy link
Closed
Description
- Deployer version: 7.0.0-rc.8
- Deployment OS: Centos 8 Stream
I'm getting the following error:
Command "deploy" is not defined.
Even though I'm including the common recipe?
<?php
namespace Deployer;
require 'recipe/common.php';
require 'deploy/recipe/sts-composer.php';
require 'deploy/recipe/sts-npm.php';
require 'deploy/recipe/sts-nuxt.php';
// Project repository
set('repository', 'git@github.com:stsonline/les-warehouse-gui.git');
// Shared files/dirs between deploys
add('shared_files', ['.env']);
// Set number of releases to keep
set('keep_releases', 2);
// Writable dirs by web server
set('allow_anonymous_stats', false);
// Site: LES Warehouse GUI (Nuxt JS)
host('2001:b98:301:1d00::a:90')
->set('labels', ['stage' => 'production'])
->set('repository', 'git@warehouse-gui:stsonline/les-warehouse-gui')
->set('branch', 'main')
->set('remote_user', 'root')
->set('deploy_path', '/var/www/warehouse-gui');
// Custom tasks
after('deploy:update_code', 'npm:install');
after('npm:install', 'composer:install');
after('deploy:writable', 'nuxt:generate');Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels