Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 625 Bytes

how-to-custom-deployer-file.md

File metadata and controls

13 lines (9 loc) · 625 Bytes

How to use my own deployer file?

By default, Laravel Deployer uses your config/deploy.php file to generate a new Deployer file every time one of its commands. If you feel comfortable enough to manipulate the deployer file on your own — and still want to use Laravel Deployer's commands — you can provide its path on the configuration file:

// config/deploy.php

return [
    'custom_deployer_file' => 'path/to/my/deploy.php',
];

Alternatively, if your Deployer file is at the root of your project, you can delete the config/deploy.php file altogether and Laravel Deployer will use it for its commands.