From fdbdcbc1ec05d30f2437fc70873c68c84ae4ff07 Mon Sep 17 00:00:00 2001 From: Asep Haryana Date: Mon, 3 Aug 2026 09:35:56 +0700 Subject: [PATCH] fix(ci): trigger nix deploy on every push to main GitHub path filters do not match submodule gitlink changes, so the `paths: apps/**` filter meant a submodule pointer update never triggered the deploy. Drop the filter so any push to main deploys (matches the documented "Push to main -> nix build -> systemctl restart"). Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/nix-build.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml index 1fffc0a..3ce2527 100644 --- a/.github/workflows/nix-build.yml +++ b/.github/workflows/nix-build.yml @@ -1,14 +1,11 @@ name: Nix Build & Deploy — All Services on: + # No `paths` filter: GitHub's path filters do not match submodule gitlink + # changes, so a submodule pointer update (e.g. from update-submodule.yml) + # would never trigger this deploy. Run on every push to main instead. push: branches: [main] - paths: - - 'apps/**' - - 'infra/**' - - 'flake.nix' - - 'flake.lock' - - '.github/workflows/nix-build.yml' workflow_dispatch: concurrency: