ci(deploy): add pipefail condition and git clone comment

This commit is contained in:
2025-11-14 13:49:09 +08:00
parent 9ff85984e4
commit 97402674cd

View File

@@ -1,7 +1,11 @@
#!/usr/bin/env bash
# filepath: deploy.sh
# git clone https://code.deep-pilot.chat/AI_POC/TERES_web_frontend.git
set -euo pipefail
set -e
if [ -n "${BASH_VERSION:-}" ]; then
set -o pipefail
fi
# 固定镜像名(兼容你原 stop.sh 的做法)
IMAGE_NAME="teres_web_frontend:latest"