clear template cache

This commit is contained in:
Paul J Stevens 2023-10-29 11:44:43 +01:00
parent 6430d351c3
commit a984f7b65d
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,8 @@ BASE_DIR=/usr/src/wordpress
cv upgrade:db -n
rm -rf ${BASE_DIR}/wp-content/uploads/civicrm/templaces_c/*
# Install extensions
cd ${BASE_DIR}/wp-content/uploads/civicrm/ext
@ -44,6 +46,7 @@ cv ext:enable --user="$WORDPRESS_ADMIN_USER" uk.co.vedaconsulting.mosaico
cv ext:upgrade-db --user="$WORDPRESS_ADMIN_USER"
rm -rf ${BASE_DIR}/wp-content/uploads/civicrm/templaces_c/*
# wordpress plugins
cd ${BASE_DIR}
wp plugin install --activate civicrm-admin-utilities wpforms-lite wp-2fa