despark / laravel-after-deploy-actions
Apply/rollback actions after a deployment
Installs: 1 049
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/despark/laravel-after-deploy-actions
Requires
- php: >=8.1
- illuminate/support: >=9.0
README
This package is inspired by the Laravel migration logic to create after deploy actions.
Installation
- Install via Composercomposer require despark/laravel-after-deploy-actions
- Publish migrationsphp artisan vendor:publish --provider="Despark\AfterDeployAction\Providers\AfterDeployActionServiceProvider" --tag="migrations"
- Apply migrationsphp artisan migrate
- Create a folder called after-deploy-actionsin your base project folder
Usage
- To make a new action run the following command(action_namemust be snake case)php artisan after-deploy-actions:make action_name
- Apply actionsphp artisan after-deploy-actions:up
- Rollback actionsphp artisan after-deploy-actions:rollback
License
The MIT License (MIT). Please see License File for more information.