Skip to content

Instantly share code, notes, and snippets.

@kerasai
Created December 10, 2021 22:45
Show Gist options
  • Save kerasai/cc9855ae09fefe023e104d1be7f7a830 to your computer and use it in GitHub Desktop.
Save kerasai/cc9855ae09fefe023e104d1be7f7a830 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -z "$1" ]; then
exit
fi
lando terminus drush $1 -- updatedb -y --no-cache-clear && \
lando terminus drush $1 -- cache:rebuild && \
lando terminus drush $1 -- config:import -y && \
lando terminus drush $1 -- cache:rebuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment