skip host key check
Some checks failed
Activate NixOS Homelab Configuration On Push / deploy (push) Has been cancelled
Some checks failed
Activate NixOS Homelab Configuration On Push / deploy (push) Has been cancelled
This commit is contained in:
parent
334b9e2fb9
commit
ccb6ea4f90
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue