Skip to content
Snippets Groups Projects
Commit e373580c authored by Brian Weaver's avatar Brian Weaver
Browse files

Explicitly clear cache after deploy

parent 7738baf3
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,8 @@
terminus site:upstream:clear-cache $SITE_NAME;
terminus upstream:updates:list $SITE_NAME.$ENV;
terminus upstream:updates:apply $SITE_NAME.$ENV --updatedb;
terminus remote:drush $SITE_NAME.$ENV cr;
terminus env:clear-cache $SITE_NAME.$ENV;
else
if [[ -z $1 ]]; then
while [[ -z $DEPLOY_MSG ]]; do
......@@ -67,5 +69,7 @@
else
DEPLOY_MSG=$@;
fi
terminus env:deploy $SITE_NAME.$ENV --updatedb --cc --note="$DEPLOY_MSG";
terminus env:deploy $SITE_NAME.$ENV --updatedb --note="$DEPLOY_MSG";
terminus remote:drush $SITE_NAME.$ENV cr;
terminus env:clear-cache $SITE_NAME.$ENV;
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment