mirror of
https://github.com/KingHWJ/WeReadBoard.git
synced 2026-11-03 18:24:58 +08:00
ci(deploy): 添加 dev 自动部署脚本
This commit is contained in:
1 parent
e5d1b7fa42
commit
bbc4bdd140
8 files changed
+284
-2
No files matched your search
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user