Skip to content

Commit

Permalink
test/fix: update workflow, migrate to pnpm
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
  • Loading branch information
kbdharun committed Jul 20, 2024
1 parent 66cb483 commit 054d20b
Show file tree
Hide file tree
Showing 5 changed files with 2,215 additions and 3,071 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ jobs:
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache: pnpm

- name: Setup Pages
uses: actions/configure-pages@v4
Expand All @@ -38,12 +40,12 @@ jobs:
run: npm ci

- name: Build with VitePress
run: npm run content:build
run: pnpm run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: content/.vitepress
path: content/.vitepress/dist

deploy:
environment:
Expand Down
1 change: 1 addition & 0 deletions content/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default defineConfig({
title: "Aplós Template",
description:
"This is a cool template for VitePress, it has a lot of features, and it's easy to use",
base: "/personal-site-aplos-test/",

lastUpdated: true,
cleanUrls: true,
Expand Down
Loading

0 comments on commit 054d20b

Please sign in to comment.