mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 16:54:08 +01:00
754 B
754 B
Yarn Recipe
Installing
Add to your deploy.php
require 'contrib/yarn.php';
Configuration
- bin/yarn (optional): set Yarn binary, automatically detected otherwise.
Usage
after('deploy:update_code', 'yarn:install');
Configuration
bin/yarn
Tasks
yarn:install
Installs Yarn packages.
In there is a {{previous_release}}, node_modules will be copied from it before installing deps with yarn.