提交 677eea70 编写于 作者: richard_1015's avatar richard_1015

feat: script gh-pages

上级 e5130406
......@@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: yarn install
- run: yarn build:site
- run: yarn build:gh-pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
......
......@@ -39,6 +39,7 @@
"checked": "npm run generate:file && rm -rf dist/ && tsc",
"dev": "npm run checked && vite --open",
"build:site": "npm run checked && vite build",
"build:gh-pages": "npm run checked && vite build --base=/nutui/",
"build:site:oss": "npm run checked && vite build --base=/nutui/3x/",
"build": "npm run checked && vite build --config vite.config.build.ts && npm run generate:types",
"build:disperse": "vite build --config vite.config.build.disperse.ts",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册