Skip to content

Commit

Permalink
PE-601 Post custom Solr schema during test & live deploys (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardDavies authored Apr 26, 2024
1 parent f27ec93 commit 5c28fc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/private/scripts/drush_post_deploy.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

//Clear the cache to make sure database doesn't conflict
echo "Start running drush deploy...\n";
passthru('drush deploy -v -y 2>&1');
echo "Done running drush deploy.\n";

echo "Post our custom Solr schema to Pantheon's Solr server...\n";
passthru('drush search-api-pantheon:postSchema pantheon_solr8 ../private/solr-conf 2>&1');

0 comments on commit 5c28fc3

Please sign in to comment.