From bfd15aee6359bc890d91961360f621b88a137207 Mon Sep 17 00:00:00 2001 From: Jeffrey Date: Tue, 21 May 2024 11:58:10 +0200 Subject: [PATCH] switch deploy docs to yarn --- .github/workflows/deploy-docs.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 5ef9aa57..6517f567 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -3,7 +3,7 @@ name: Deploy on gh-pages on: push: branches: - - main + - dev jobs: deploy: @@ -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