update docs workflow
This commit is contained in:
parent
ed1009fd15
commit
5f1f77add9
2 changed files with 34 additions and 20 deletions
14
.github/workflows/build-docs.yml
vendored
14
.github/workflows/build-docs.yml
vendored
|
|
@ -24,15 +24,14 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
bun-version: latest
|
||||
node-version: '22'
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
- name: Build docs
|
||||
run:
|
||||
bun docs-build
|
||||
run: npm ci
|
||||
- name: Build docs
|
||||
run: npm run docs-build
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Upload artifact
|
||||
|
|
@ -43,4 +42,3 @@ jobs:
|
|||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue