Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
huangmingfu committed Oct 25, 2024
1 parent 2af20b3 commit 88242a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default defineConfig({
socialLinks: [
{
icon: 'github',
link: 'https://github.com/212149997'
link: 'https://github.com/huangmingfu'
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/technology/BlogTread.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ head: [
### 搭建自动gitee推送
::: tip
> `在package.json的scripts里添加:
"deploy": "pnpm run build && git add . && git commit -m \"gitee 自动推送\" && git push -u origin master && git subtree push --prefix docs/.vitepress/dist origin gh-pages"`
"deploy": "rm -rf docs/.vitepress/dist && pnpm run build && git add . && git commit -m \"gitee 自动推送\" && git push -u origin master && git subtree push --prefix docs/.vitepress/dist origin gh-pages"`
>
> **解释**
> git subtree push --prefix docs/.vitepress/dist origin gh-pages:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"dev": "vitepress dev docs",
"build": "vitepress build docs",
"serve": "vitepress serve docs",
"deploy": "rm -rf docs/.vitepress/dist && pnpm run build && git add . && git commit -m \"update\" && git push -u origin master && git subtree push --prefix docs/.vitepress/dist origin gh-pages",
"push": "git add . && git commit -m \"update\" && git push -u origin master"
},
"dependencies": {
Expand Down

0 comments on commit 88242a6

Please sign in to comment.