commit a525e322edcc87101bb12831f42399b56a5e131b parent 4b2c4e16b3c9c1d74fb91dc9dffad9eaaf27f64f Author: Silas Brack <silasbrack@gmail.com> Date: Thu, 2 Apr 2026 20:07:55 +0200 Fix ssh Diffstat:
| M | .forgejo/workflows/nixos.yaml | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.forgejo/workflows/nixos.yaml b/.forgejo/workflows/nixos.yaml @@ -22,5 +22,7 @@ jobs: run: nix flake check - name: Deploy - if: github.ref == 'refs/heads/main' - run: nix run nixpkgs#nixos-rebuild -- --fast --flake .#nixos-s-1vcpu-512mb-10gb-ams3-01 --target-host root@188.166.127.72 test + if: forgejo.ref == 'refs/heads/main' + run: | + NIX_SSHOPTS="-o StrictHostKeyChecking=accept-new" \ + nix run nixpkgs#nixos-rebuild -- --fast --flake .#nixos-s-1vcpu-512mb-10gb-ams3-01 --target-host root@188.166.127.72 test