fix forgejo deploy workflow
Some checks failed
Deploy Sokko G / deploy (push) Failing after 3s

This commit is contained in:
Shinuwa 2026-09-23 20:58:23 +02:00
parent 13434f72f6
commit e6a2dddfa4

View file

@ -14,8 +14,9 @@ jobs:
env: env:
DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }} DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
run: | run: |
rm -rf /var/lib/apt/lists/*
apt-get update apt-get update
apt-get install -y openssh-client apt-get install -y --no-install-recommends openssh-client
mkdir -p ~/.ssh mkdir -p ~/.ssh
printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/id_ed25519 printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/id_ed25519