Skip to content

Commit

Permalink
[EPAD8-2166] Updating deployment script to only run drush deploy to p…
Browse files Browse the repository at this point in the history
…revent deployment error from occurring when deploying the D10 code.
  • Loading branch information
carsoncho committed May 25, 2023
1 parent 6cfd35f commit afc46cb
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions ci/drush.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@ const util = require("./util");
* we provide it here at the entry point of the script rather than accidentally hide it in
* ecs.js.)
*/

// @todo Put this back after D10 release has been deployed.
// const drushScript = dedent`
// drush --debug --uri="$WEBCMS_SITE_URL" sset system.maintenance_mode 1 --input-format=integer
// drush --debug --uri="$WEBCMS_SITE_URL" cr
// drush --debug --uri="$WEBCMS_SITE_URL" deploy -y
// drush --debug --uri="$WEBCMS_SITE_URL" sset system.maintenance_mode 0 --input-format=integer
// drush --debug --uri="$WEBCMS_SITE_URL" cr
// `;

const drushScript = dedent`
drush --debug --uri="$WEBCMS_SITE_URL" sset system.maintenance_mode 1 --input-format=integer
drush --debug --uri="$WEBCMS_SITE_URL" cr
drush --debug --uri="$WEBCMS_SITE_URL" deploy -y
drush --debug --uri="$WEBCMS_SITE_URL" sset system.maintenance_mode 0 --input-format=integer
drush --debug --uri="$WEBCMS_SITE_URL" cr
`;

Expand Down

0 comments on commit afc46cb

Please sign in to comment.