From 724fc801cb355b6c73b0be7851de5e4111f5be45 Mon Sep 17 00:00:00 2001 From: Diego V Date: Mon, 26 Feb 2024 06:08:11 -0600 Subject: [PATCH] fix: remove fetch-depth --- .github/workflows/deploy.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 11fd7777..e6802d88 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,26 +30,21 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 0 # Not needed if lastUpdated is not enabled - # - uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm - # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun - name: Setup Node uses: actions/setup-node@v4 with: node-version: 20 - cache: npm # or pnpm / yarn + cache: npm - name: Setup Pages uses: actions/configure-pages@v4 - name: Install dependencies - run: npm ci # or pnpm install / yarn install / bun install + run: npm ci - name: Build with VitePress - # or pnpm docs:build / yarn docs:build / bun run docs:build run: | npm run docs:build touch .vitepress/dist/.nojekyll - name: Upload artifact - uses: actions/upload-pages-artifact@v4 + uses: actions/upload-pages-artifact@v3 with: path: /.vitepress/dist