Merge pull request 'fix ssh key handle' (#4) from develop into main
Some checks failed
Deploy Gameservers Control / deploy (push) Failing after 3s

Reviewed-on: #4
This commit is contained in:
shinuwa 2026-06-12 19:38:38 +00:00
commit afd69e5fbf

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 \