<?php
// Do nothing if not on Pantheon test/live environments.
if (!in_array($_ENV['PANTHEON_ENVIRONMENT'], ['test', 'live'])) {
return;
}
$commands = [
'drush updatedb --no-cache-clear --yes',
'drush cache:rebuild',
'drush config:import --yes',
'drush cache:rebuild',
'drush config:import --yes',
'drush cache:rebuild',
'drush locale:check',
'drush locale:update',
'drush deploy:hook',
'drush cache:rebuild',
];
foreach ($commands as $command) {
echo "Running: $command" . PHP_EOL;
passthru($command);
}
The problem
web/privateand it didn't work.scripts/quicksilver/custom/drupal-deploy.phpand mentioned correctly in thepantheon.ymlbut it still didn't work404while running your Quicksilver operation, but I'm not sure how I get a 404 if all I'm trying to do is run a script.web/privateinstead ofprivate/orscripts/./pantheon.yml
/scripts/quicksilver/custom/drush-deploy.php
I wonder what's going on? What does 404 while running your Quicksilver operation mean?