ci: run smoke check before build, trigger on flake.lock changes

This commit is contained in:
Christopher Mühl 2026-02-18 13:28:00 +01:00
parent dd382a5cc4
commit dc79590384
No known key found for this signature in database
GPG key ID: 925AC7D69955293F

View file

@ -5,6 +5,7 @@ on:
branches: [main] branches: [main]
paths: paths:
- 'deploy-static-site/images/flake.nix' - 'deploy-static-site/images/flake.nix'
- 'deploy-static-site/images/flake.lock'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@ -13,6 +14,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - 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 - name: Build static-server image
run: nix build ./deploy-static-site/images#staticServer --out-link result-static-server run: nix build ./deploy-static-site/images#staticServer --out-link result-static-server