1
Some checks failed
部署后端服务 / 🚀 构建并部署 (push) Failing after 7m25s

This commit is contained in:
iriver
2025-07-15 23:33:47 +08:00
parent 1f3c4adc96
commit c9bf99c2a5

View File

@ -158,8 +158,11 @@ jobs:
- name: 📦 同步配置文件
run: |
# 安装sshpass用于密码认证
sudo apt-get update && sudo apt-get install -y sshpass
# 使用国内镜像源安装sshpass
echo "🔄 使用国内镜像源..."
sudo sed -i 's|http://.*.ubuntu.com|https://mirrors.aliyun.com|g' /etc/apt/sources.list
sudo apt-get update -o Acquire::Retries=3 -o Acquire::http::Timeout=30
sudo apt-get install -y --allow-unauthenticated sshpass
# 同步配置文件到服务器
echo "📋 同步配置文件到服务器..."