fix forgejo deploy workflow
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s

This commit is contained in:
Shinuwa 2026-09-23 21:01:59 +02:00
parent e6a2dddfa4
commit ef0c592c11

View file

@ -14,9 +14,10 @@ jobs:
env:
DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
run: |
rm -rf /var/lib/apt/lists/*
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