fix ssh key handle
This commit is contained in:
parent
70edcd6136
commit
4a8dee986b
1 changed files with 2 additions and 2 deletions
|
|
@ -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 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue