diff --git a/.github/workflows/cf.yml b/.github/workflows/cf.yml index af897a5..e4d456f 100644 --- a/.github/workflows/cf.yml +++ b/.github/workflows/cf.yml @@ -1,5 +1,4 @@ -name: 预构建 - +name: 构建并部署 on: push: branches: diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 48b61da..75a9bdb 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -19,6 +19,10 @@ const nav: NavConfig = [ text: '关于', link: '/about/', }, + { + text: '返回主站', + link: '../' + } ] const baseConfig = { diff --git a/docs/index.md b/docs/index.md index 4ca3344..f245271 100644 --- a/docs/index.md +++ b/docs/index.md @@ -17,4 +17,7 @@ hero: - theme: alt text: 关于 link: /about + - theme: alt + text: 返回主站 + link: ../ ---