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