build/post_upgrade.sh
author ymh <ymh.work@gmail.com>
Mon, 17 Oct 2016 18:07:53 +0200
changeset 346 4cd0f8c936ed
parent 28 b0b56e0f8c7f
child 353 bf1bc6b08c46
permissions -rw-r--r--
upgrade build and delivery process for integration

#!/usr/bin/env sh

echo "Clear drupal cache"
if [ -x /usr/local/bin/drush ]; then
    /usr/local/bin/drush -r /var/www/corpusdelaparole/drupal cc all
fi

echo "Restart httpd"
/usr/bin/systemctl restart httpd