diff options
author | Linnnus <[email protected]> | 2025-01-23 19:50:06 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2025-01-23 19:50:06 +0100 |
commit | a5aa6f36856037a66765db90ca6550e10589f5f0 (patch) | |
tree | 31a207361a2bf2f63a22fdbcbaaf949310478495 /hosts | |
parent | 2d43072721da049e3e4b46a42899d93396500e82 (diff) |
linus.onl: Clone full git history when building site
Since the build script uses commit dates to infer authoring dates, a
shallow clone makes all posts appear to have been published at the time
of the most recent commit.
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/ahmed/linus.onl/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/ahmed/linus.onl/default.nix b/hosts/ahmed/linus.onl/default.nix index f176228..b363bb1 100644 --- a/hosts/ahmed/linus.onl/default.nix +++ b/hosts/ahmed/linus.onl/default.nix @@ -63,7 +63,7 @@ in { tmpdir="$(mktemp -d -t linus.onl-source.XXXXXXXXXXXX)" cd "$tmpdir" trap 'rm -rf $tmpdir' EXIT - git clone --depth=1 --branch=${mainBranch} https://github.com/linnnus/${domain} . + git clone --branch=${mainBranch} --filter=blob:none https://github.com/linnnus/${domain} . make _build rsync --archive --delete _build/ /var/www/${domain} ''; |