ci(deploy): 添加 dev 自动部署脚本

This commit is contained in:
admin committed 2026-09-12 17:24:36 +08:00
1 parent e5d1b7fa42
commit bbc4bdd140
8 files changed
+284 -2

No files matched your search

+5 -1
View File
@@ -12,7 +12,11 @@ set -euo pipefail
cd "$(dirname "$0")"
PYTHON_BIN="${PYTHON_BIN:-$HOME/.workbuddy/binaries/python/envs/default/bin/python}"
PROJECT_PYTHON="$(pwd)/.venv/bin/python"
PYTHON_BIN="${PYTHON_BIN:-$PROJECT_PYTHON}"
if [ ! -x "$PYTHON_BIN" ]; then
PYTHON_BIN="$HOME/.workbuddy/binaries/python/envs/default/bin/python"
fi
if [ ! -x "$PYTHON_BIN" ]; then
PYTHON_BIN="$(command -v python3)"
fi