vonec / gitsync
Laravel Package to deploy code automatically from git to multiple autoscaling EC2 instances on AWS using Github/Bitbucket webhooks
Requires
- php: ~5.6|~7.0
- aws/aws-sdk-php: ^3.29
- illuminate/support: ~5.1
- phpseclib/phpseclib: ^2.0
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0||~6.0
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2024-11-08 07:22:18 UTC
README
Gitsync
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.
-
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"
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.