Laravel Package to deploy code automatically from git to multiple autoscaling EC2 instances on AWS using Github/Bitbucket webhooks.
Open your terminal(CLI), go to the root directory of your Laravel project, then follow the following procedure.
-
Install Through Composer
composer require vonec/gitsync
-
Add to
config/app.php
:'providers' => [ ... Vonec\Gitsync\GitsyncServiceProvider::class, ],
-
Publish the config file
php artisan vendor:publish --provider="Vonec\Gitsync\GitsyncServiceProvider"
Edit "/config/gitsync.php"
Add webhook in Github or Bitbucket
http(s)://your-project/gitsync?key=YOURKEY
YOURKEY can be defined in configuration
Multiple servers require queue workers.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING and CONDUCT for details.
If you discover a security vulnerability within Gitsync, please create an ISSUE. All security vulnerabilities will be promptly addressed.
Gitsync is an open-sourced software licensed under the MIT license.