After making changes lo custom commands in the deploy and buildphases you deploy to Staging.The deployment takes much longer than expected, and Stagingis in maintenance mode tor most of this time.
What do you do to reduce site downtime?
A.
Set the SKIP_MAINTENANCE_SCD variable to true In the . magento. env. yaml file
B.
Add a custom command to the post_deploy phase to activate deferred deployment
C.
Move custom commands from the deploy phase to the build phase.
D.
Update the SCD_MATRIX variable to include only necessary custom commands
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit