Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (9 sloc) 193 Bytes
#!/bin/sh
#
# Cloud Hook: update-db
#
# Run drush updatedb in the target environment. This script works as
# any Cloud hook.
site="$1"
target_env="$2"
drush @$site.$target_env updatedb --yes