fix deploy: use Liara Alpine mirror for apk
This commit is contained in:
parent
3689f0b1b4
commit
c0e32794ed
@ -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 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user