fix deploy: use Liara Alpine mirror for apk

This commit is contained in:
devops 2026-06-23 11:26:52 +00:00
parent 2e769bfece
commit ea03954a84

View File

@ -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 }}