Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (12 sloc) 305 Bytes
#!/bin/sh
#
# Cloud Hook: drush-cache-clear
#
# Run drush cache-clear all in the target environment. This script works as
# any Cloud hook.
# Map the script inputs to convenient names.
site=$1
target_env=$2
drush_alias=$site'.'$target_env
# Execute a standard drush command.
drush @$drush_alias cc all