kv/deploy.sh
2023-09-29 08:34:50 +02:00

6 lines
188 B
Bash
Executable File

#!/usr/bin/env bash
trunk build --release --public-url '/kv/'
wasm-opt -O4 dist/*.wasm -o=/tmp/wasm.opt && cp /tmp/wasm.opt dist/*.wasm
rm -r ../website/kv
cp --archive dist ../website/kv