Include canonical recipe inputs in production website staging

This commit is contained in:
unimatrixgit 2026-11-28 19:55:37 +01:00
commit 3ab69d7b5d

View file

@ -15,7 +15,14 @@ DEST="$BASE/artifacts/$SHA"
TMP="$BASE/artifacts/.${SHA}.tmp.$$"
trap 'rm -rf "$TMP"' EXIT
mkdir -p "$TMP"
git archive "$SHA" website tools | tar -x -C "$TMP"
# The public recipe book derives its data from the reviewed game recipes.
git archive "$SHA" website tools \
DuneRealmsGUI/executablecrafting/recipes \
DuneRealmsGUI/executableitems/arrakis \
DuneRealmsGUI/ecology/food-icons \
JarvisConnector/src/main/resources/survival-food-recipes.json \
DuneTerrain/src/main/resources/starter-repair-parts.json | tar -x -C "$TMP"
export GITHUB_SHA="$SHA"
cd "$TMP/website"
corepack pnpm install --frozen-lockfile
corepack pnpm build