We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3790ee commit fb9bb89Copy full SHA for fb9bb89
1 file changed
.scripts/recipes/craft3/golive.pre.sh
@@ -11,6 +11,7 @@ executeSSH "ln -s ../../_data/storage $APPROOT/deploy/backend/storage"
11
12
# Replace the placeholder with the db pw for the environment
13
executeSSH "sed -i \"s/@DB_PASSWORD/$DB_PASSWORD/g\" $APPROOT/deploy/backend/config/db.php" > /dev/null
14
+executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft migrate/all"
15
executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft project-config/apply"
16
executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft blitz/cache/clear"
17
executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft crafter/cache/clear-template"
0 commit comments