33
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 50s

This commit is contained in:
编码猿
2025-10-05 04:38:48 +08:00
parent 936f83bc96
commit 685a82aa4b

View File

@@ -40,7 +40,9 @@ jobs:
# -T: 禁用伪终端分配,避免相关警告
sshpass -p '${{ secrets.PASSWORD }}' ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ${{ secrets.USERNAME }}@${{ secrets.HOST }} << 'EOF'
# --- 以下为在管理机上执行的脚本 ---
ssh -T git@git.bmycode.help
echo ssh -T git@git.bmycode.help
echo ip addr show
# 定义项目目录(管理机上的代码存放路径)
PROJECT_DIR="/home/bmy/gitea_actions"