This commit is contained in:
liuweiqing 2024-02-17 12:01:35 +08:00
parent c4d1ad61c2
commit 4856f001e1

View File

@ -43,12 +43,12 @@ jobs:
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4
- name: Install dependencies - name: Install dependencies
run: npm ci # or pnpm install / yarn install / bun install run: npm ci # or pnpm install / yarn install / bun install
working-directory: ./docs # working-directory: ./docs
- name: Build with VitePress - name: Build with VitePress
run: | run: |
npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
touch docs/.vitepress/dist/.nojekyll touch docs/.vitepress/dist/.nojekyll
working-directory: ./docs # working-directory: ./docs
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3
with: with: