Skip to content

Commit

Permalink
fix: remove fetch-depth
Browse files Browse the repository at this point in the history
  • Loading branch information
diegovester committed Feb 26, 2024
1 parent 268969e commit 724fc80
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 724fc80

Please sign in to comment.