vonec/gitsync

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

0.0.6 2017-07-08 12:55 UTC

This package is auto-updated.

Last update: 2024-11-08 07:22:18 UTC


README

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.