Skip to content

Commit

Permalink
use the configured php version (#2886)
Browse files Browse the repository at this point in the history
  • Loading branch information
steinkel authored Jan 7, 2022
1 parent cfcb963 commit f159c35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipe/cakephp.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
* Create plugins' symlinks
*/
task('deploy:init', function () {
run('{{release_or_current_path}}/bin/cake plugin assets symlink');
run('{{bin/php}} {{release_or_current_path}}/bin/cake.php plugin assets symlink');
})->desc('Initialization');

/**
* Run migrations
*/
task('deploy:run_migrations', function () {
run('{{release_or_current_path}}/bin/cake migrations migrate --no-lock');
run('{{release_or_current_path}}/bin/cake schema_cache build');
run('{{bin/php}} {{release_or_current_path}}/bin/cake.php migrations migrate --no-lock');
run('{{bin/php}} {{release_or_current_path}}/bin/cake.php schema_cache build');
})->desc('Run migrations');

/**
Expand Down

0 comments on commit f159c35

Please sign in to comment.