Skip to content

Commit

Permalink
switch deploy docs to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrieh committed May 21, 2024
1 parent 91df977 commit bfd15ae
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy on gh-pages
on:
push:
branches:
- main
- dev

jobs:
deploy:
Expand All @@ -16,14 +16,11 @@ jobs:
with:
node-version: '22.1.0' # Replace with the desired Node.js version

- name: Setup Bun
uses: oven-sh/setup-bun@v1

- run: bun install --frozen-lockfile
- run: yarn install --frozen-lockfile

# Build the docs
- name: Build
run: bun run vocs build --searchIndex false && bun run vocs search-index
run: yarn vocs build --searchIndex false && bun run vocs search-index
working-directory: ./docs

- name: deploy
Expand Down

0 comments on commit bfd15ae

Please sign in to comment.