Add File
This commit is contained in:
16
docs/deploy.sh
Normal file
16
docs/deploy.sh
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
# abort on errors
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# copy changes.md
|
||||||
|
cp ../changes.md ./zh/
|
||||||
|
cp ../changes.md ./
|
||||||
|
|
||||||
|
# build
|
||||||
|
npm run docs:build
|
||||||
|
#vuepress build .
|
||||||
|
|
||||||
|
ossutil rm oss://agentsflex-docs/ -rf
|
||||||
|
ossutil cp -rf assets/images oss://agentsflex-docs/assets/images
|
||||||
|
ossutil cp -rf .vitepress/dist oss://agentsflex-docs/
|
||||||
Reference in New Issue
Block a user