fix(deploy): sync ivr prompt wavs to server
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user