Browse Source

ci: manually build and deploy docs

AlpinDale 6 months ago
parent
commit
e9d30fe8c4
1 changed files with 7 additions and 6 deletions
  1. 7 6
      .github/workflows/deploy.yml

+ 7 - 6
.github/workflows/deploy.yml

@@ -41,12 +41,13 @@ jobs:
           cache: pnpm # or pnpm / yarn
       - name: Setup Pages
         uses: actions/configure-pages@v4
-      - name: Install dependencies
-        run: pnpm install # or pnpm install / yarn install / bun install
-        working-directory: docs
-      - name: Build with VitePress
-        run: pnpm run build # or pnpm docs:build / yarn docs:build / bun run docs:build
-        working-directory: docs
+      - name: Install dependencies and build
+        shell: bash
+        run: |
+          cd docs
+          pnpm install
+          pnpm run build
+          cd ..
       - name: Upload artifact
         uses: actions/upload-pages-artifact@v3
         with: