Split install and refresh commands
This commit is contained in:
parent
f42aaab862
commit
dd263a6f38
|
@ -11,11 +11,16 @@ if [ $# -eq 0 ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
install|refresh)
|
install)
|
||||||
drush site:install -y --account-pass=admin123 --existing-config
|
drush site:install -y --account-pass=admin123 --existing-config
|
||||||
drush user:login
|
drush user:login
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
refresh)
|
||||||
|
drush config-import -y
|
||||||
|
drush cache-rebuild
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Invalid argument: $1"
|
echo "Invalid argument: $1"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue