From f950757d99da52d02d1ab5aec6c1067194715aae Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sat, 20 Jul 2024 00:12:12 +0200 Subject: [PATCH] test ssh_key --- .forgejo/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index ff056d4..671172f 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -8,8 +8,8 @@ jobs: cat < $PWD/id_rsa ${{ secrets.SSH_KEY }} EOF - export NIX_SSHOPTS="-i $PWD/id_rsa" - nix flake update + chmod 600 $PWD/id_rsa + NIX_SSHOPTS='-i $PWD/id_rsa' nix flake update - run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel - run: nix build .#nixosConfigurations.cream.config.system.build.toplevel - run: nix build .#nixosConfigurations.cherry.config.system.build.toplevel