mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
run niv update workflow when sources change
This commit is contained in:
parent
3fbae6cd2a
commit
e7d6ef8769
1 changed files with 9 additions and 1 deletions
|
|
@ -8,7 +8,15 @@ with lib; {
|
|||
gh-actions.env.CACHIX_SIGNING_KEY = "\${{ secrets.CACHIX_SIGNING_KEY }}";
|
||||
|
||||
gh-actions = {
|
||||
on = {
|
||||
on = let
|
||||
paths = [ "nix/*" "ci/*" ];
|
||||
in {
|
||||
push = {
|
||||
inherit paths;
|
||||
};
|
||||
pull_request = {
|
||||
inherit paths;
|
||||
};
|
||||
schedule = [ {
|
||||
cron = "0 */6 * * *";
|
||||
} ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue