Skip to content

Instantly share code, notes, and snippets.

@melloc01
Last active September 23, 2015 19:06
Show Gist options
  • Save melloc01/05fa5a4b21639e2bf515 to your computer and use it in GitHub Desktop.
Save melloc01/05fa5a4b21639e2bf515 to your computer and use it in GitHub Desktop.
echo ==== deploying application =====
echo ========= checking out =========
git --work-tree=/var/www/projeto/api/src --git-dir=/var/www/projeto/api/repository.git checkout -f
echo ========= installing dependencies =========
( cd /var/www/projeto/api/src && composer install && php artisan migrate )
echo =========== complete ===========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment