We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 986bd72 commit 076dd54Copy full SHA for 076dd54
1 file changed
bin/deploy.sh
@@ -84,7 +84,11 @@ fi
84
## Prod and dev sites: install the application.
85
composer install --no-dev --optimize-autoloader
86
./bin/console cache:clear
87
-./bin/console doctrine:migrations:migrate --no-interaction
+
88
+## Run migration command if migration folder exists.
89
+if [[ -d "migrations" ]]; then
90
+ ./bin/console doctrine:migrations:migrate --no-interaction
91
+fi
92
93
# Build assets if requested.
94
if [[ $BUILD_ASSETS == 1 ]]; then
0 commit comments