deploy.sh 212 Bytes
Newer Older
Sebastian Castro's avatar
Sebastian Castro committed
1 2 3 4 5 6 7 8 9 10
#!/bash/bin

git reset --hard master
git pull origin master
npm install
composer install
gulp build
gulp production
php bin/console db:migrate
sh cache_clear.sh
Sebastian Castro's avatar
Sebastian Castro committed
11
sleep 5
Sebastian Castro's avatar
Sebastian Castro committed
12
chmod 777 -R var/
Sebastian Castro's avatar
Sebastian Castro committed
13 14
sleep 1
chmod 777 -R var/