From ea03954a8449e8201069ff4fbae5055c9a45aba0 Mon Sep 17 00:00:00 2001 From: devops Date: Tue, 23 Jun 2026 11:26:52 +0000 Subject: [PATCH] fix deploy: use Liara Alpine mirror for apk --- .gitea/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 151ed83..4e78555 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -11,7 +11,11 @@ jobs: shell: sh steps: - name: Install SSH client - run: apk add --no-cache openssh-client + run: | + V=$(cut -d'.' -f1-2 /etc/alpine-release) + echo "https://linux-mirror.liara.ir/repository/alpine/v$V/main" > /etc/apk/repositories + echo "https://linux-mirror.liara.ir/repository/alpine/v$V/community" >> /etc/apk/repositories + apk add --no-cache openssh-client - name: Setup SSH key env: SSH_KEY: ${{ secrets.DEPLOY_KEY }}