diff options
author | Franck Cuny <franck@fcuny.net> | 2023-12-03 13:16:56 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-12-03 13:16:56 -0800 |
commit | b983cc33f596a765a381edecdb8341871a15ba31 (patch) | |
tree | c35a3eb8cbca43883a313d7081361bae1c5dc748 | |
parent | add `treefmt` and `pre-commit-hooks` (diff) | |
download | fcuny.net-b983cc33f596a765a381edecdb8341871a15ba31.tar.gz |
run `nix flake check` in CI before building the site
-rw-r--r-- | .github/workflows/page.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml index 04d964f..c13aa75 100644 --- a/.github/workflows/page.yml +++ b/.github/workflows/page.yml @@ -24,7 +24,10 @@ jobs: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - - run: nix build .#site --print-build-logs + - name: flake check + run: nix flake check + - name: Build the site + run: nix build --print-build-logs - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: |