From fa8cf1f9cdd51d753c12a704b6367c3dcaf606e6 Mon Sep 17 00:00:00 2001 From: Jan Kremer Date: Tue, 4 Feb 2025 12:01:56 +0100 Subject: [PATCH] meta: Fix lastmod date error in GitHub Actions --- .github/workflows/main.yml | 3 +++ flake.nix | 18 ------------------ 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 76e1150..2ac6e50 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@main + with: + submodules: true + fetch-depth: 0 - name: Setup Pages id: pages uses: actions/configure-pages@main diff --git a/flake.nix b/flake.nix index b24a830..a31df7a 100644 --- a/flake.nix +++ b/flake.nix @@ -47,24 +47,6 @@ ${pkgs.hugo}/bin/hugo --minify '').outPath; }; - - test = { - type = "app"; - program = - (pkgs.writeShellScript "test-website" '' - set -e - ${pkgs.hugo}/bin/hugo --environment="development" - '').outPath; - }; - - server = { - type = "app"; - program = - (pkgs.writeShellScript "serve-website" '' - set -e - ${pkgs.hugo}/bin/hugo server - '').outPath; - }; }); }; }