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) <noreply@anthropic.com>
This commit is contained in:
Asep Haryana
2026-08-03 09:35:56 +07:00
co-authored by Claude Opus 5
parent b7b60e9125
commit fdbdcbc1ec
+3 -6
View File
@@ -1,14 +1,11 @@
name: Nix Build & Deploy — All Services name: Nix Build & Deploy — All Services
on: 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: push:
branches: [main] branches: [main]
paths:
- 'apps/**'
- 'infra/**'
- 'flake.nix'
- 'flake.lock'
- '.github/workflows/nix-build.yml'
workflow_dispatch: workflow_dispatch:
concurrency: concurrency: