From dc795903848c9c30d1147afbde83884d39eecd01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20M=C3=BChl?= Date: Wed, 18 Feb 2026 13:28:00 +0100 Subject: [PATCH] ci: run smoke check before build, trigger on flake.lock changes --- .forgejo/workflows/build-static-server.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.forgejo/workflows/build-static-server.yaml b/.forgejo/workflows/build-static-server.yaml index 6cbc610..5d9a16f 100644 --- a/.forgejo/workflows/build-static-server.yaml +++ b/.forgejo/workflows/build-static-server.yaml @@ -5,6 +5,7 @@ on: branches: [main] paths: - 'deploy-static-site/images/flake.nix' + - 'deploy-static-site/images/flake.lock' workflow_dispatch: jobs: @@ -13,6 +14,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Run smoke check + run: nix build ./deploy-static-site/images#checks.x86_64-linux.smoke + - name: Build static-server image run: nix build ./deploy-static-site/images#staticServer --out-link result-static-server