docs_veda_strategic/build.sh

27 lines
704 B
Bash
Raw Normal View History

2025-01-01 21:50:11 +00:00
#!/bin/bash
set -ex
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${script_dir}"
export PATH=${BASE}/node_modules/.bin:$PATH
echo "Docs directory: $script_dir"
#bun build
#bun ${script_dir}/node_modules/.bin/docusaurus build
2025-01-02 17:52:49 +00:00
rm -rf build
cp buildchoice/biz_navbar.ts navigation/navbar.ts
cp buildchoice/biz_docusaurus.config.ts docusaurus.config.ts
pnpm build
2025-01-01 21:50:11 +00:00
rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/veda/
2025-01-02 17:52:49 +00:00
rm -rf build
cp buildchoice/coown_navbar.ts navigation/navbar.ts
cp buildchoice/coown_docusaurus.config.ts docusaurus.config.ts
pnpm build
rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/veda1234/