Files
pw/scripts/hent-vaerktoej.sh
Asger Geel WeirsøeandClaude Opus 5.5 e58a11c2b4 feat: flyt sitet fra Astro til Zola
Samme indhold, URL'er og udseende, bygget af en enkelt zola-binær og Tailwind
standalone-CLI uden Node. Kanonisk domæne er asger.weirsoe.dk.

Blogindlæg ligger som page bundles med frontmatter Zola forstår, så de gamle
stempler er ugyldige, indtil scripts/omstempl.py er kørt med PUBLISH_KEY.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 16:47:08 +01:00

22 lines
816 B
Bash
Executable File

#!/bin/sh
# Henter zola og Tailwind standalone-CLI til .tools/, fastlåst på version og sha256.
# Bruges af CI her og i agw/pw-drafts.
set -eu
ZOLA=0.23.6
ZOLA_SHA256=7d77a4220a4f699cba2fc0e0c7859f780e887e269159ad4fab90e11ea16c906f
TAILWIND=4.3.3
TAILWIND_SHA256=dc61b3ac6b8c9ca874c0cc4c57b2409791a64c5540404ca5f5367360babc313a
mkdir -p .tools
curl -fsSL -o .tools/zola.tar.gz \
"https://github.com/getzola/zola/releases/download/v$ZOLA/zola-v$ZOLA-x86_64-unknown-linux-musl.tar.gz"
curl -fsSL -o .tools/tailwindcss \
"https://github.com/tailwindlabs/tailwindcss/releases/download/v$TAILWIND/tailwindcss-linux-x64"
sha256sum -c - <<EOF
$ZOLA_SHA256 .tools/zola.tar.gz
$TAILWIND_SHA256 .tools/tailwindcss
EOF
tar -xzf .tools/zola.tar.gz -C .tools
rm .tools/zola.tar.gz
chmod +x .tools/zola .tools/tailwindcss