test ssh_key

This commit is contained in:
Ingolf Wagner 2024-07-20 00:06:03 +02:00
parent 8bb987b9bb
commit 208e49b352
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -5,7 +5,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: | - run: |
echo ${{ secrets.SSH_KEY }} > $PWD/.ssh/id_rsa cat <<EOF > $PWD/.ssh/id_rsa
${{ secrets.SSH_KEY }}
EOF
export NIX_SSHOPTS="-i $PWD/.ssh/id_rsa" export NIX_SSHOPTS="-i $PWD/.ssh/id_rsa"
nix flake update nix flake update
- run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel - run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel