Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 2.38 KB

README.md

File metadata and controls

72 lines (46 loc) · 2.38 KB

Gitsync

Total Downloads Latest Stable Version License


Laravel Package to deploy code automatically from git to multiple autoscaling EC2 instances on AWS using Github/Bitbucket webhooks.

Installation

Open your terminal(CLI), go to the root directory of your Laravel project, then follow the following procedure.

  1. Install Through Composer

    composer require vonec/gitsync
  2. Add to config/app.php:

    'providers' => [    ...
    	Vonec\Gitsync\GitsyncServiceProvider::class,
    ],
  3. Publish the config file

    php artisan  vendor:publish --provider="Vonec\Gitsync\GitsyncServiceProvider"

Configuration

Edit "/config/gitsync.php"

Usage

Add webhook in Github or Bitbucket

http(s)://your-project/gitsync?key=YOURKEY

YOURKEY can be defined in configuration

Multiple servers require queue workers.

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security Vulnerabilities

If you discover a security vulnerability within Gitsync, please create an ISSUE. All security vulnerabilities will be promptly addressed.

Credits

License

Gitsync is an open-sourced software licensed under the MIT license.