Files
mlc-ai--web-llm/scripts/local_deploy_site.sh
T
wehub-resource-sync f73e710e38
Build site and push to gh-pages / Build site (push) Waiting to run
Linter / lint (push) Waiting to run
Security / dependency-review (push) Waiting to run
Security / npm-audit (push) Waiting to run
Security / codeql (push) Waiting to run
Build / build (push) Has been cancelled
Tests / test (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:42:51 +08:00

12 lines
181 B
Bash
Executable File

#!/bin/bash
set -euxo pipefail
cd examples/simple-chat
rm -rf lib
npm run build
cd ../..
cp examples/simple-chat/lib/* site
cd site && jekyll serve --host localhost --port 8888