ok it is not working
This commit is contained in:
parent
476abd30f4
commit
3e475d87eb
1 changed files with 2 additions and 9 deletions
|
|
@ -1,9 +1,2 @@
|
||||||
#!/bin/sh
|
#!/command/execlineb -P
|
||||||
VERSION=$(php bootstrap/getVersion.php)
|
php /var/www/html/artisan migrate --force --isolated
|
||||||
|
|
||||||
if echo "$VERSION" | grep -q "nightly"; then
|
|
||||||
php /var/www/html/artisan migrate:fresh --force
|
|
||||||
php /var/www/html/artisan db:seed --class ProductionSeeder --force
|
|
||||||
else
|
|
||||||
php /var/www/html/artisan migrate --force --isolated
|
|
||||||
fi
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue