fix cron trigger paths

This commit is contained in:
arcnmx 2021-05-19 08:54:19 -07:00
parent a8bfcdf17f
commit 8cd7a0170c
2 changed files with 12 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ lib, channels, ... }:
{ lib, channels, config, ... }:
with lib; {
name = "niv-update";
ci.gh-actions.enable = true;
@ -9,7 +9,11 @@ with lib; {
gh-actions = {
on = let
paths = [ "nix/*" "ci/*" ];
paths = [
"nix/*" # niv and sources.json
"default.nix" # sourceCache
config.ci.configPath config.ci.gh-actions.path
];
in {
push = {
inherit paths;