michelmelo/mm-laravel-auto-git-pull is a Laravel package for mm laravel auto :: git pull.
It currently has 4 GitHub stars and 2.095 downloads on Packagist (latest version 1.4.0).
Install it with composer require michelmelo/mm-laravel-auto-git-pull.
Discover more Laravel packages by michelmelo
or browse all Laravel packages to compare alternatives.
Last updated
MM Laravel auto git pull
composer require michelmelo/mm-laravel-auto-git-pull
AUTO_PULL_SECRET=xxxxxxxxxxxxxxxxxx
AUTO_PULL_DIR=/var/www/site.com
AUTO_PULL_SERVER_IP=111.11.111.111
AUTO_PULL_SSH_USER=root
AUTO_PULL_SSH_PRIVATE_KEY=storage/app/id_rsa
AUTO_PULL_SSH_USER_PASS=
Route::any('/auto-git-pull', '\MichelMelo\MMAutoGitPull\MMAutoGitPullController@pull');
http://site.com/api/auto-git-pull?secret=xxxxxxxxxxxxxxxxxx
{
"status": true,
"message": "Success!",
"data": [
"No local changes to save",
"Already up-to-date."
],
"errors": [
]
}