mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-23 12:00:52 +00:00
Bruno Fontes
aa55e10e69
- Deploy (merge into production, push, composer install and npm install) - start_vagrant (just start vagrant and browser) - ssh_homestead (a simple ssh into homestead)
3 lines
319 B
Bash
3 lines
319 B
Bash
#!/bin/sh
|
|
git checkout production && git merge master && git checkout - && git push origin production && ssh -A contabo -t "cd /var/www/shareit.brunofontes.net; git fetch --all; git checkout --force production; git pull origin production --force; ~/composer.phar install -n --optimize-autoloader --no-dev; npm install"
|