fix forgejo deploy workflow
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
This commit is contained in:
parent
e6a2dddfa4
commit
ef0c592c11
1 changed files with 4 additions and 3 deletions
|
|
@ -14,9 +14,10 @@ jobs:
|
|||
env:
|
||||
DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||
run: |
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends openssh-client
|
||||
if ! command -v ssh >/dev/null 2>&1; then
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends openssh-client
|
||||
fi
|
||||
|
||||
mkdir -p ~/.ssh
|
||||
printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/id_ed25519
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue