Files
MBTI_wang/scripts/deploy_mbti_kr_tencent_cos_tat.sh
Ghost a411bf7b21 高考版优化
审核模式优化
2026-04-29 18:01:26 +08:00

9 lines
434 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
# MBTI 王 → kr不经宝塔面板 API绕过 IP 白名单),走 COS + TAT。
# 凭证:优先环境变量;否则读取 scripts/.env.tencent可由 env.tencent.example 复制)。
# 依赖pip install cos-python-sdk-v5 tencentcloud-sdk-python-tat
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"
exec python3 "$ROOT/scripts/tencent_cos_tat_deploy_mbti.py" "$@"