Permalink
Browse files

Merge pull request #7 from benbunk/master

Added a new script for running drush cc all.
  • Loading branch information...
bjaspan committed Aug 2, 2012
2 parents 1deeb78 + 66ff4c2 commit 4b6044e30e77f2336defd4b4c21f020050bf68dd
Showing with 15 additions and 0 deletions.
  1. +15 −0 samples/drush-cache-clear.sh
@@ -0,0 +1,15 @@
#!/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

0 comments on commit 4b6044e

Please sign in to comment.