mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
19 lines
468 B
Bash
Executable File
19 lines
468 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
./bin/build-contributors.sh
|
|
./bin/build-apidoc.sh
|
|
|
|
cd docs
|
|
npm ci
|
|
npm run build
|
|
cp CNAME public/
|
|
|
|
cp ../CHANGELOG.md source/tutorials/changelog.md
|
|
sed -i '1i ---\ntitle: Changelog\nauto: true\n---\n' source/tutorials/changelog.md
|
|
cp ../CHANGELOG.md source/zh-cn/tutorials/changelog.md
|
|
sed -i '1i ---\ntitle: 更新日志\nauto: true\n---\n' source/zh-cn/tutorials/changelog.md
|
|
|
|
if [ "$HEXO_ALGOLIA_INDEXING_KEY" != "" ]; then
|
|
npm run index
|
|
fi
|