Installation
Install the package
All you need to do to get started is add Deploy Operations
to your composer dependencies:
composer require dragon-code/laravel-deploy-operations
If necessary, you can publish the configuration file by calling the console command:
php artisan vendor:publish --tag=config --provider="DragonCode\LaravelDeployOperations\ServiceProvider"
Publish the operation stub (optional)
You may publish the stub used by the make:operation
command and/or Laravel Idea plugin for JetBrains PhpStorm if you want to modify it.
php artisan vendor:publish --tag=stubs --provider="DragonCode\LaravelDeployOperations\ServiceProvider"
As a result, the file stubs/deploy-operation.stub
will be created in the root of the project, which you can change for yourself.