Skip to content

Instantly share code, notes, and snippets.

@amitaibu
Last active August 29, 2015 14:25
Show Gist options
  • Save amitaibu/da908aab835dc11e5c85 to your computer and use it in GitHub Desktop.
Save amitaibu/da908aab835dc11e5c85 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Execute: ./pantheon-site/upgrade_scripts/your_script.sh dev
if [ $# -eq 0 ]
then
echo "You must pass the Pantheon enviorement (dev, test, live)"
exit 1
fi
ENV="$1"
echo "Processing @pantheon.shoov.$ENV"
drush @pantheon.shoov.$ENV updb -y --strict=0
drush @pantheon.shoov.$ENV cc all --strict=0
drush @pantheon.shoov.$ENV fr shoov_user -y --strict=0
drush @pantheon.shoov.$ENV en page_manager panels views_content -y --strict=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment