Download the PHP package konstantinn/laravel-github-deploy without Composer
On this page you can find all versions of the php package konstantinn/laravel-github-deploy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download konstantinn/laravel-github-deploy
More information about konstantinn/laravel-github-deploy
Files in konstantinn/laravel-github-deploy
Package laravel-github-deploy
Short Description Easy deploy laravel project to github.
License MIT
Informations about the package laravel-github-deploy
Laravel GitHub Deploy
About
This package allows you to automate the publication of updates to your server, after publishing them to Github.
Install
Go to your remote server and set url git origin repository with user and pass:
Publish config file deploy.php
By default, the log is written to the file storage/logs/deploy.log, but you can change the path in the config file deploy.php
Open VerifyCsrfToken middleware and add route '/deploy' to except protected property:
Go to your GitHub repository and create webhook with Payload Url: https://SITE.DOMEN/deploy
Fill Secret field and copy this data and paste in .env file:
Check request webhook in Recent Deliver part.
Whats all!
Deploy Сommands
By default deploy runs next commands:
But you can add or modify commands in config file deploy.php.
Contributors
- @k0nstantin777 the original author of this package.
All versions of laravel-github-deploy with dependencies
illuminate/support Version ~5.8.0|^6.0
illuminate/routing Version ~5.8.0|^6.0
symfony/process Version ^4.4