fix strict checking
Some checks failed
NixOS Rebuild / rebuild (push) Has been cancelled

This commit is contained in:
Satria 2026-03-15 09:59:35 +07:00
commit 349d5d026a

View file

@ -17,17 +17,15 @@ jobs:
mkdir -p ./ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ./ssh/deploy_key
chmod 600 ./ssh/deploy_key
echo "StrictHostKeyChecking no" > ./ssh/config
- name: Rebuild
run: |
ssh -i ./ssh/deploy_key root@localhost \
"nixos-rebuild switch \
--flake git+http://localhost:5080/satr14/nix-flake#homelab -L"
ssh -i ./ssh/deploy_key -o StrictHostKeyChecking=no root@localhost \
"nixos-rebuild switch --flake git+http://localhost:5080/satr14/nix-flake#homelab -L"
- name: Show generation
if: always()
run: ssh -i ./ssh/deploy_key root@localhost "nixos-version"
run: ssh -i ./ssh/deploy_key -o StrictHostKeyChecking=no root@localhost "nixos-version"
- name: Clean Up
if: always()