mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Take the site down before updating and bring it back up after
This commit is contained in:
parent
9229e3c804
commit
5bc306b694
1 changed files with 5 additions and 0 deletions
5
init.sh
5
init.sh
|
@ -50,6 +50,9 @@ trap 'error "script killed"' SIGINT SIGQUIT
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
msg "Running: ${c_m}php artisan down"
|
||||||
|
php artisan down || error "${c_m}php artisan down$c_w exited with an error status"
|
||||||
|
|
||||||
msg "Running: ${c_m}composer installl --no-dev"
|
msg "Running: ${c_m}composer installl --no-dev"
|
||||||
composer install --no-interaction --no-dev || error "${c_m}composer install --no-interaction --no-dev$c_w exited with an error status"
|
composer install --no-interaction --no-dev || error "${c_m}composer install --no-interaction --no-dev$c_w exited with an error status"
|
||||||
|
|
||||||
|
@ -65,3 +68,5 @@ bower install || error "${c_m}bower install$c_w exited with an error status"
|
||||||
msg "Running: ${c_m}gulp --production"
|
msg "Running: ${c_m}gulp --production"
|
||||||
gulp --production || error "${c_m}gulp --production$c_w exited with an error status"
|
gulp --production || error "${c_m}gulp --production$c_w exited with an error status"
|
||||||
|
|
||||||
|
msg "Running: ${c_m}php artisan up"
|
||||||
|
php artisan up || error "${c_m}php artisan up$c_w exited with an error status"
|
||||||
|
|
Loading…
Reference in a new issue