Created
November 10, 2016 11:31
-
-
Save alysdal/4f233d926992dab7364a48bd93398975 to your computer and use it in GitHub Desktop.
A pullhook script for laravel installations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre> | |
<?php | |
// remember to rename the file to a random string to prevent abuse | |
system('cd .. && git pull && composer install && php artisan migrate --force'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment