diff --git a/.forgejo/workflows/nix_build.yaml b/.forgejo/workflows/nix_build.yaml index 184f64f..3cbcc50 100644 --- a/.forgejo/workflows/nix_build.yaml +++ b/.forgejo/workflows/nix_build.yaml @@ -2,6 +2,8 @@ name: Build all NixOS Configurations on: - push + - schedule: + - cron: "40 12 * * *" # not to frequent, GitHub only allows a few pulls per hour jobs: nix build: @@ -24,18 +26,15 @@ jobs: SSH_AGENT_PID=$SSH_AGENT_PID EOF - - run: nix flake archive + nix flake archive - - name: teardown ssh - if: always() - run: | echo $SSH_AGENT_PID kill $SSH_AGENT_PID + rm .id_rsa - name: nix flake check run: nix flake check --verbose --log-format raw - #- name: nix build orbi # run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel