fix(ci): Don't run nix check when no nix files have changed
This commit is contained in:
parent
d56b740017
commit
042b10abb8
2 changed files with 5 additions and 2 deletions
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
|
@ -1,6 +1,9 @@
|
||||||
name: Check flake
|
name: Check flake
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
path:
|
||||||
|
- ./**.nix
|
||||||
|
- ./flake.lock
|
||||||
pull_request:
|
pull_request:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 5 4 * * 5 # At 04:05 on Friday.
|
- cron: 5 4 * * 5 # At 04:05 on Friday.
|
||||||
|
|
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
@ -12,8 +12,8 @@ on:
|
||||||
# Module options
|
# Module options
|
||||||
- ./options.nix
|
- ./options.nix
|
||||||
# Nix files
|
# Nix files
|
||||||
- flake.lock
|
- ./flake.lock
|
||||||
- flake.nix
|
- ./flake.nix
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-website:
|
build-website:
|
||||||
|
|
Loading…
Reference in a new issue