about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-03 13:16:56 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-03 13:16:56 -0800
commitb983cc33f596a765a381edecdb8341871a15ba31 (patch)
treec35a3eb8cbca43883a313d7081361bae1c5dc748
parentadd `treefmt` and `pre-commit-hooks` (diff)
downloadfcuny.net-b983cc33f596a765a381edecdb8341871a15ba31.tar.gz
run `nix flake check` in CI before building the site
Diffstat (limited to '')
-rw-r--r--.github/workflows/page.yml5
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: