Closed
Description
Need to update https://github.com/rtCamp/action-deploy-wordpress/blob/master/deploy.php#L79 and https://github.com/rtCamp/action-deploy-wordpress/blob/master/deploy.php#L101
Solution
try {
$ee_version = run('ee --version');
} catch(\Exception $e) {
echo 'NOT USING EE';
}
logs
✔ Ok
➤ Executing task deploy:unlock
✔ Ok
➤ Executing task deploy:lock
✔ Ok
➤ Executing task deploy:release
✔ Ok
➤ Executing task rsync
✔ Ok
➤ Executing task wp:config
✔ Ok
➤ Executing task cachetool:download
✔ Ok
➤ Executing task deploy:shared
✔ Ok
➤ Executing task deploy:symlink
✔ Ok
➤ Executing task permissions:set
✔ Ok
➤ Executing task opcache:reset
➤ Executing task deploy:failed
✔ Ok
In Client.php line 103:
The command "ee --version" failed.
Exit Code: 127 (Command not found)
Host Name: main
================
bash: line 1: ee: command not found
deploy [-p|--parallel] [-l|--limit LIMIT] [--no-hooks] [--log LOG] [--roles ROLES] [--hosts HOSTS] [-o|--option OPTION] [--] [<stage>]
Metadata
Metadata
Assignees
Labels
No labels