mirror of
https://github.com/brunofontes/shareit.git
synced 2025-12-13 11:10:42 -03:00
chore: add helper scripts
- Deploy (merge into production, push, composer install and npm install) - start_vagrant (just start vagrant and browser) - ssh_homestead (a simple ssh into homestead)
This commit is contained in:
2
deploy.sh
Normal file
2
deploy.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user