Skip to content

Commit

Permalink
Copy previous vendor directory on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwins committed Feb 23, 2024
1 parent cb47031 commit d4559ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
// Host(s)
import('hosts.yml');

// Copy previous vendor directory
set('copy_dirs', [ 'vendor' ]);
before('deploy:vendors', 'deploy:copy_dirs');

// Tasks
after('deploy:cleanup', 'phinx:migrate');

Expand Down

0 comments on commit d4559ac

Please sign in to comment.