Skip to content

Commit

Permalink
Clear Drupal cache after menu updates
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoPino authored May 17, 2021
1 parent fe3cdd5 commit 04619f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/archipelago/update_deployed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ echo -e "A welcome message\n"

curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPATCH http://esmero-web/jsonapi/block_content/block_with_twig_templating_/1cdf7155-eb60-4f27-9e5e-64fffe93127a --data-binary @d8content/block_content_01.json;

echo -e "Last pass, setting web owner to tmp files folder\n"
echo -e "Last pass, setting web owner to tmp files folder and clearing Drupal caches\n"

chown -R www-data:www-data /var/www/html/web/sites/default/files
drush cr

echo -e "Ready!"

0 comments on commit 04619f6

Please sign in to comment.