1
Deploy to Test / deploy (push) Has been cancelled
Details
Deploy to Test / deploy (push) Has been cancelled
Details
This commit is contained in:
parent
6b9d9e604e
commit
31fc538f0f
|
@ -19,17 +19,12 @@ jobs:
|
|||
|
||||
- name: Replace Debian APT sources
|
||||
run: |
|
||||
tee /etc/apt/sources.list <<EOF
|
||||
# 清华大学 Debian 11 Bullseye 镜像
|
||||
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
|
||||
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
|
||||
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
|
||||
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
|
||||
EOF
|
||||
sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list \
|
||||
&& sed -i 's/security.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
|
||||
|
||||
- name: Install SSH tools
|
||||
run: |
|
||||
apt-get install -y openssh-client rsync
|
||||
apt-get update && apt-get install -y openssh-client rsync
|
||||
|
||||
- name: Configure SSH
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue