fix ssh key handle #4

Merged
shinuwa merged 1 commit from develop into main 2026-06-12 19:38:39 +00:00
Showing only changes of commit 4a8dee986b - Show all commits

View file

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