Skip to content

Commit

Permalink
fix(ci): Don't run nix check when no nix files have changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jalil-salame committed Jan 14, 2024
1 parent d56b740 commit 042b10a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
# Module options
- ./options.nix
# Nix files
- flake.lock
- flake.nix
- ./flake.lock
- ./flake.nix

jobs:
build-website:
Expand Down

0 comments on commit 042b10a

Please sign in to comment.