fix: use canina runner with pre-installed SSH
Some checks failed
Deploy Canina / deploy (push) Failing after 2s
Some checks failed
Deploy Canina / deploy (push) Failing after 2s
This commit is contained in:
parent
d8806542c2
commit
f4dea1f1b0
@ -5,17 +5,8 @@ on:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
shell: sh
|
||||
runs-on: canina
|
||||
steps:
|
||||
- name: Install SSH
|
||||
run: |
|
||||
V=$(cut -d'.' -f1-2 /etc/alpine-release)
|
||||
echo "http://dl-cdn.alpinelinux.org/alpine/v$V/main" > /etc/apk/repositories
|
||||
echo "http://dl-cdn.alpinelinux.org/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