From 5d7789fa5c8bb7d3e6d66adbe4dc7c958606bfa5 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sat, 20 Jul 2024 00:04:43 +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 dfec34d..75f5bda 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -4,9 +4,9 @@ jobs: runs-on: native steps: - uses: actions/checkout@v4 - - run: env - run: | - export NIX_SSHOPTS="-i $PWD/id_rsa" + cat ${{ secrets.SSH_KEY }} > $PWD/.ssh/id_rsa + export NIX_SSHOPTS="-i $PWD/.ssh/id_rsa" nix flake update - run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel - run: nix build .#nixosConfigurations.cream.config.system.build.toplevel