fix ssh key not connecting
Some checks failed
Activate NixOS Homelab Configuration On Push / deploy (push) Has been cancelled

This commit is contained in:
Satria 2026-03-14 11:46:32 +07:00
commit 334b9e2fb9

View file

@ -26,7 +26,7 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H localhost >> ~/.ssh/known_hosts
ssh-keyscan -H localhost 127.0.0.1 ::1 >> ~/.ssh/known_hosts
- name: Deploy System over SSH
run: nixos-rebuild switch --flake ./src#homelab --target-host root@localhost -L --show-trace