test ssh_key

This commit is contained in:
Ingolf Wagner 2024-07-20 00:04:43 +02:00
parent 4f93d3d416
commit 5d7789fa5c
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -4,9 +4,9 @@ jobs:
runs-on: native runs-on: native
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: env
- run: | - 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 nix flake update
- run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel - run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel
- run: nix build .#nixosConfigurations.cream.config.system.build.toplevel - run: nix build .#nixosConfigurations.cream.config.system.build.toplevel