ci: make MCP script shell-compatible
Some checks failed
Deploy to Production / Deploy to Server (push) Has been cancelled
Deploy to Production / Build and Test (push) Has been cancelled

This commit is contained in:
你的用户名
2025-11-08 20:43:57 +08:00
parent 31a923113a
commit 19699660a3

View File

@@ -69,7 +69,10 @@ jobs:
port: ${{ secrets.SERVER_PORT || '22' }}
command_timeout: 30m
script: |
set -Eeuo pipefail
set -eu
if [ -n "${BASH_VERSION:-}" ]; then
set -o pipefail
fi
LOG_DIR=/home/atai/logs
mkdir -p "${LOG_DIR}"