fix ssh key handle

This commit is contained in:
Shinuwa 2026-06-12 21:38:16 +02:00
parent 70edcd6136
commit 4a8dee986b

View file

@ -12,7 +12,7 @@ jobs:
container:
image: node:26-bookworm
volumes:
- /home/shinuwa/.ssh/forgejo-runner:/keys/forgejo-runner:ro
- /data/docker/forgejo-runner/data:/runner-data:ro
steps:
- name: Deploy on WebApps
@ -21,7 +21,7 @@ jobs:
apt-get install -y openssh-client
mkdir -p ~/.ssh
cp /keys/forgejo-runner ~/.ssh/id_ed25519
cp /runner-data/forgejo-runner.key ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh -o StrictHostKeyChecking=no \