From 0a4b4ff513d208f464e00553c1e5d34abe7ff5d0 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 16 Feb 2023 22:01:59 +0300 Subject: [PATCH] ci: trigger the ci less often by filtering trigger files --- .github/workflows/cachix.yml | 8 ++++---- .github/workflows/manual.yml | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cachix.yml b/.github/workflows/cachix.yml index 624e8c9..0e789cd 100644 --- a/.github/workflows/cachix.yml +++ b/.github/workflows/cachix.yml @@ -6,9 +6,9 @@ on: branches: - main paths-ignore: - - '.github/**' - - './assets/**' - - '.gitignore' + - .github/** + - assets/** + - .gitignore jobs: nix: @@ -44,5 +44,5 @@ jobs: run: git config --global init.defaultBranch main - name: Validate Flakes run: nix flake check - - name: Build Hyprland with default settings + - name: Build Hneovim-flake with default settings run: nix build .#${{ matrix.package }} --print-build-logs diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 9dbd0b7..ca403c2 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -4,6 +4,9 @@ on: push: branches: - main + paths: + # build the manuals only when docs directory is updated + - docs/** # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: