Рефакторизация структуры кода для улучшения читаемости и удобства сопровождения.
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Очистите кеш после обновления приложения
|
||||
|
||||
echo "Clearing cache for twenty."
|
||||
"${DFWEBOS_ROOT}/scripts/app" compose "${APP_ID}" run --rm server yarn command:prod cache:flush
|
||||
echo "Successfully cleared the twenty cache."
|
||||
|
||||
echo "Running database migrations for twenty."
|
||||
"${DFWEBOS_ROOT}/scripts/app" compose "${APP_ID}" run --rm server yarn database:migrate:prod
|
||||
echo "Successfully run database migrations for twenty."
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user