Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit 72d7f7d

Browse files
committed
deploy
1 parent 1f61202 commit 72d7f7d

File tree

4 files changed

+444
-13
lines changed

4 files changed

+444
-13
lines changed

.github/workflows/deploy-docs-site.yml

+11-9
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,38 @@ jobs:
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
with:
1717
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
1818
fetch-depth: 0
1919

2020
- name: Setup Node.js
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
# 选择要使用的 node 版本
24-
node-version: 18
25-
# registry-url: https://registry.npmmirror.com/
24+
node-version: 20
25+
registry-url: https://registry.npmmirror.com/
2626

27-
- uses: pnpm/action-setup@v2.2.4
27+
- uses: pnpm/action-setup@v3
2828
name: Install pnpm
2929
id: pnpm-install
3030
with:
31-
version: 8
31+
version: 9
3232
run_install: false
3333

3434
- name: Get pnpm store directory
3535
id: pnpm-cache
3636
run: |
37-
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
38-
- uses: actions/cache@v3
37+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
38+
39+
- uses: actions/cache@v4
3940
name: Setup pnpm cache
4041
with:
41-
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
42+
path: ${{ env.STORE_PATH }}
4243
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
4344
restore-keys: |
4445
${{ runner.os }}-pnpm-store-
46+
4547
- name: Install antfu/ni
4648
run: npm i -g @antfu/ni
4749

.vitepress/config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,18 @@ export default {
4646
icon: {
4747
svg: '<svg t="1663266323098" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2880" width="200" height="200"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m259.2-569.6H480c-12.8 0-25.6 12.8-25.6 25.6v64c0 12.8 12.8 25.6 25.6 25.6h176c12.8 0 25.6 12.8 25.6 25.6v12.8c0 41.6-35.2 76.8-76.8 76.8h-240c-12.8 0-25.6-12.8-25.6-25.6V416c0-41.6 35.2-76.8 76.8-76.8h355.2c12.8 0 25.6-12.8 25.6-25.6v-64c0-12.8-12.8-25.6-25.6-25.6H416c-105.6 0-188.8 86.4-188.8 188.8V768c0 12.8 12.8 25.6 25.6 25.6h374.4c92.8 0 169.6-76.8 169.6-169.6v-144c0-12.8-12.8-25.6-25.6-25.6z" p-id="2881"></path></svg>'
4848
},
49-
link: 'https://gitee.com/hooray/fantastic-admin'
49+
link: 'https://gitee.com/fantastic-admin/basic'
5050
},
5151
{
52-
icon: 'github', link: 'https://github.com/hooray/fantastic-admin'
52+
icon: 'github', link: 'https://github.com/fantastic-admin/basic'
5353
}
5454
],
5555
sidebar: {
5656
'/guide/': [
5757
{
5858
text: '入门',
5959
items: [
60+
{ text: '更新日志', link: '/guide/changelog' },
6061
{ text: '准备工作', link: '/guide/ready' },
6162
{ text: '开始', link: '/guide/start' },
6263
{ text: '代码规范', link: '/guide/coding-standard' },

0 commit comments

Comments
 (0)