ci: docs
This commit is contained in:
parent
c4d1ad61c2
commit
4856f001e1
4
.github/workflows/github-pages.yml
vendored
4
.github/workflows/github-pages.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user