Skip to content

Commit

Permalink
🔥 测试文档部署
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Sep 8, 2024
1 parent 41bba84 commit 2e7cd5e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ghpage-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ jobs:
pnpm run docs:build
> .vitepress/dist/.nojekyll
- name: Deploy to Vercel
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: pages
folder: .vitepress/dist

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
Empty file.
6 changes: 3 additions & 3 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "My Awesome Project",
description: "A VitePress Site",
title: "Snowykami's Blog",
description: "A blog about me!",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
Expand All @@ -22,7 +22,7 @@ export default defineConfig({
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
{ icon: 'github', link: 'https://github.com/snowykami' }
]
}
})

0 comments on commit 2e7cd5e

Please sign in to comment.