feat: unified ./install.sh script

This commit is contained in:
Lewis Wynne 2026-01-31 22:52:53 +00:00
parent 7f01bec7e6
commit 7f282a59b7
3 changed files with 9 additions and 8 deletions

8
install.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
[ -n "$GITHUB_ACCESS_TOKEN" ] && git config --global url."https://${GITHUB_ACCESS_TOKEN}@github.com/".insteadOf "git@github.com:"
git submodule update --init --remote --merge www/src/content
git -C www/src/content checkout main
pnpm install