skip host key check
Some checks failed
Activate NixOS Homelab Configuration On Push / deploy (push) Has been cancelled

This commit is contained in:
Satria 2026-03-14 11:49:58 +07:00
commit ccb6ea4f90

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 127.0.0.1 ::1 >> ~/.ssh/known_hosts
printf '%s\n' 'Host localhost 127.0.0.1 ::1' ' StrictHostKeyChecking no' ' UserKnownHostsFile /dev/null' >> ~/.ssh/config
- name: Deploy System over SSH
run: nixos-rebuild switch --flake ./src#homelab --target-host root@localhost -L --show-trace