From 6d2638897a54fd83758f03515566db72cc61b7ce Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 8 Dec 2023 20:32:17 +0900 Subject: [PATCH] test --- .forgejo/workflows/ssh-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ssh-test.yml b/.forgejo/workflows/ssh-test.yml index 8f48dc30..48546edb 100644 --- a/.forgejo/workflows/ssh-test.yml +++ b/.forgejo/workflows/ssh-test.yml @@ -43,11 +43,11 @@ jobs: - name: "Setup: SSH" run: | mkdir /root/.ssh + echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub + echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519 chmod 700 /root/.ssh chmod 600 /root/.ssh/id_ed25519 chmod 644 /root/.ssh/id_ed25519.pub - echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub - echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519 ssh -o "StrictHostKeyChecking=no" albert@100.64.0.14 "ls /Storage" # - name: "Nix build" # run: |