added copy step to build_systems action

This commit is contained in:
2025-01-20 14:03:26 -05:00
parent d7fd0796ea
commit c39f8c4a7e
4 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
name: build_jeeves
name: build_systems
on:
workflow_dispatch:
pull_request:
@@ -19,3 +19,7 @@ jobs:
- uses: actions/checkout@v4
- name: Build default package
run: "nixos-rebuild build --flake ./#${{ matrix.system }}"
- name: copy to nix-cache
env:
NIX_SSHOPTS: "-p 629 -i /zfs/storage/secrets/services/github-runners/id_ed25519_github-runners"
run: nix copy --to ssh://192.168.98.14 .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel