ci: run smoke check before build, trigger on flake.lock changes
This commit is contained in:
parent
dd382a5cc4
commit
dc79590384
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue