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
|
||||
on:
|
||||
push:
|
||||
path:
|
||||
- ./**.nix
|
||||
- ./flake.lock
|
||||
pull_request:
|
||||
schedule:
|
||||
- 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
|
||||
- ./options.nix
|
||||
# Nix files
|
||||
- flake.lock
|
||||
- flake.nix
|
||||
- ./flake.lock
|
||||
- ./flake.nix
|
||||
|
||||
jobs:
|
||||
build-website:
|
||||
|
|
Loading…
Reference in a new issue