Looking to hire Laravel developers? Try LaraJobs

laravel-after-deploy-actions maintained by despark

Description
Apply/rollback actions after a deployment
Author
Last update
2023/03/02 10:29 (dev-master)
License
Links
Downloads
1 062

Comments
comments powered by Disqus

About

This package is inspired by the Laravel migration logic to create after deploy actions.

Installation

  1. Install via Composer
composer require despark/laravel-after-deploy-actions
  1. Publish migrations
  php artisan vendor:publish --provider="Despark\AfterDeployAction\Providers\AfterDeployActionServiceProvider" --tag="migrations"
  1. Apply migrations
php artisan migrate
  1. Create a folder called after-deploy-actions in your base project folder

Usage

  1. To make a new action run the following command(action_name must be snake case)
php artisan after-deploy-actions:make action_name
  1. Apply actions
php artisan after-deploy-actions:up
  1. Rollback actions
php artisan after-deploy-actions:rollback

License

The MIT License (MIT). Please see License File for more information.