Skip to content

Commit fe44d9a

Browse files
committed
fix
1 parent c26aa5f commit fe44d9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ jobs:
6363
curl -qfsSL "https://archlinux32.org/mirrorlist/?country=all&protocol=https" -o "./mirrors.txt"
6464
sed -i '/^#Server/s/^#//' "./mirrors.txt"
6565
if [[ -s "./mirrors.txt" && $(wc -l < "./mirrors.txt") -gt 3 ]]; then
66-
cat "./mirrors.txt" | tee "${GITHUB_WORKSPACE}/main/rootfs/386/etc/pacman.d/mirrorlist"
66+
cat "./mirrors.txt" | tee "/tmp/ARCHLINUX/docker-archlinux/rootfs/386/etc/pacman.d/mirrorlist"
6767
fi
6868
popd >/dev/null 2>&1
6969
##Arm64/Armv7
7070
pushd "$(mktemp -d)" >/dev/null 2>&1
7171
wget "https://bin.pkgforge.dev/$(uname -m)/rate-mirrors" -O "./rate-mirrors" && chmod +x "./rate-mirrors"
7272
"./rate-mirrors" --allow-root --disable-comments-in-file --save "./mirrors.txt" archarm
7373
if [[ -s "./mirrors.txt" && $(wc -l < "./mirrors.txt") -gt 3 ]]; then
74-
cat "./mirrors.txt" | tee "${GITHUB_WORKSPACE}/main/rootfs/arm64/etc/pacman.d/mirrorlist"
75-
cat "./mirrors.txt" | tee "${GITHUB_WORKSPACE}/main/rootfs/armv7/etc/pacman.d/mirrorlist"
74+
cat "./mirrors.txt" | tee "/tmp/ARCHLINUX/docker-archlinux/rootfs/arm64/etc/pacman.d/mirrorlist"
75+
cat "./mirrors.txt" | tee "/tmp/ARCHLINUX/docker-archlinux/rootfs/armv7/etc/pacman.d/mirrorlist"
7676
fi
7777
popd >/dev/null 2>&1
7878
fi

0 commit comments

Comments
 (0)