mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
CI - Move cron to 1 per day
This commit is contained in:
parent
6efdd26c56
commit
b204b47974
3 changed files with 6 additions and 6 deletions
2
.github/workflows/niv-update.yml
vendored
2
.github/workflows/niv-update.yml
vendored
|
|
@ -100,4 +100,4 @@ name: niv-update
|
|||
- ci/niv-cron.nix
|
||||
- .github/workflows/niv-update.yml
|
||||
schedule:
|
||||
- cron: 0 */6 * * *
|
||||
- cron: 0 0 * * *
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ with lib; {
|
|||
inherit paths;
|
||||
};
|
||||
schedule = [ {
|
||||
cron = "0 */6 * * *";
|
||||
cron = "0 0 * * *";
|
||||
} ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
echo $f
|
||||
nix run --arg config $f ci.run.gh-actions-generate
|
||||
done
|
||||
cd ${toString ./trusted}
|
||||
export TRUSTED_CONFIG_ROOT=${toString ./trusted}/ci
|
||||
cd ${toString ./config/trusted}
|
||||
export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci
|
||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
||||
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
||||
echo $f
|
||||
|
|
@ -29,8 +29,8 @@
|
|||
echo $f
|
||||
nix run --arg config $f ci.test
|
||||
done
|
||||
cd ${toString ./trusted}
|
||||
export TRUSTED_CONFIG_ROOT=${toString ./trusted}/ci
|
||||
cd ${toString ./config/trusted}
|
||||
export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci
|
||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
||||
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
||||
echo $f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue