From 208e49b352bcc055702062ba6d48192acd94c1c2 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sat, 20 Jul 2024 00:06:03 +0200 Subject: [PATCH] test ssh_key --- .forgejo/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 4dbd157..21e1c52 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -5,7 +5,9 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - echo ${{ secrets.SSH_KEY }} > $PWD/.ssh/id_rsa + cat < $PWD/.ssh/id_rsa + ${{ secrets.SSH_KEY }} + EOF export NIX_SSHOPTS="-i $PWD/.ssh/id_rsa" nix flake update - run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel