fix(deploy): sync ivr prompt wavs to server

This commit is contained in:
Yera All
2026-04-08 16:00:49 +05:00
parent bfaec370f9
commit ba0e1143ca
5 changed files with 35 additions and 1 deletions
+7
View File
@@ -102,6 +102,13 @@ if [[ ! -f "$DEPLOY_DIR/.env.production" ]]; then
fi
install -d "$DEPLOY_DIR/.data_local"
install -d "$DEPLOY_DIR/.data_local/generated_ivr_yandex/ivr"
if [[ -d "$DEPLOY_DIR/.asterisk_assets/ivr" ]]; then
rsync -a --delete \
"$DEPLOY_DIR/.asterisk_assets/ivr/" \
"$DEPLOY_DIR/.data_local/generated_ivr_yandex/ivr/"
fi
export CALL_CENTER_IMAGE="${APP_IMAGE_NAME}:${APP_IMAGE_TAG}"
export COMPOSE_PROJECT_NAME="${COMPOSE_PROJECT_NAME:-call-center}"