mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
fix cron trigger paths
This commit is contained in:
parent
a8bfcdf17f
commit
8cd7a0170c
2 changed files with 12 additions and 4 deletions
8
.github/workflows/niv-update.yml
vendored
8
.github/workflows/niv-update.yml
vendored
|
|
@ -92,10 +92,14 @@ name: niv-update
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- nix/*
|
- nix/*
|
||||||
- ci/*
|
- default.nix
|
||||||
|
- ./ci/niv-cron.nix
|
||||||
|
- .github/workflows/niv-update.yml
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- nix/*
|
- nix/*
|
||||||
- ci/*
|
- default.nix
|
||||||
|
- ./ci/niv-cron.nix
|
||||||
|
- .github/workflows/niv-update.yml
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 */6 * * *
|
- cron: 0 */6 * * *
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, channels, ... }:
|
{ lib, channels, config, ... }:
|
||||||
with lib; {
|
with lib; {
|
||||||
name = "niv-update";
|
name = "niv-update";
|
||||||
ci.gh-actions.enable = true;
|
ci.gh-actions.enable = true;
|
||||||
|
|
@ -9,7 +9,11 @@ with lib; {
|
||||||
|
|
||||||
gh-actions = {
|
gh-actions = {
|
||||||
on = let
|
on = let
|
||||||
paths = [ "nix/*" "ci/*" ];
|
paths = [
|
||||||
|
"nix/*" # niv and sources.json
|
||||||
|
"default.nix" # sourceCache
|
||||||
|
config.ci.configPath config.ci.gh-actions.path
|
||||||
|
];
|
||||||
in {
|
in {
|
||||||
push = {
|
push = {
|
||||||
inherit paths;
|
inherit paths;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue