Skip to content

Commit 6130bef

Browse files
authored
chore: deploy v3.eggjs.org (#5414)
1 parent 37aabaa commit 6130bef

9 files changed

Lines changed: 16 additions & 60 deletions

File tree

.github/workflows/nodejs-3.x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
1313
with:
1414
os: 'ubuntu-latest, macos-latest, windows-latest'
15-
version: '14, 16, 18, 20, 22, 23'
15+
version: '14, 16, 18, 20, 22'
1616
install: 'npm i -g npminstall && npminstall'
1717
secrets:
1818
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release-3.x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release for 3.x
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ 3.x ]
66

77
jobs:
88
release:

.github/workflows/vercel-preview.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/vercel-production.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ English | [简体中文](./README.zh-CN.md)
44
<img src="site/public/assets/egg-banner.png" />
55
</div>
66

7-
[![NPM version](https://img.shields.io/npm/v/egg.svg?style=flat-square)](https://npmjs.org/package/egg)
7+
[![NPM version](https://img.shields.io/npm/v/egg/release-3.x.svg?style=flat-square)](https://www.npmjs.com/package/egg/v/release-3.x)
88
[![NPM quality](http://npm.packagequality.com/shield/egg.svg?style=flat-square)](http://packagequality.com/#?package=egg)
99
[![NPM download](https://img.shields.io/npm/dm/egg.svg?style=flat-square)](https://npmjs.org/package/egg)
1010
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Feggjs%2Fegg.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Feggjs%2Fegg?ref=badge_shield)
@@ -37,7 +37,7 @@ $ open http://localhost:7001
3737
3838
## Documentations
3939

40-
- [Documentations](https://eggjs.org/en/index.html)
40+
- [Documentations](https://v3.eggjs.org/)
4141
- [Plugins](https://github.com/search?q=topic%3Aegg-plugin&type=Repositories)
4242
- [Frameworks](https://github.com/search?q=topic%3Aegg-framework&type=Repositories)
4343
- [Examples](https://github.com/eggjs/examples)

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<img src="site/public/assets/egg-banner.png" />
55
</div>
66

7-
[![NPM version](https://img.shields.io/npm/v/egg.svg?style=flat-square)](https://npmjs.org/package/egg)
7+
[![NPM version](https://img.shields.io/npm/v/egg/release-3.x.svg?style=flat-square)](https://www.npmjs.com/package/egg/v/release-3.x)
88
[![NPM quality](http://npm.packagequality.com/shield/egg.svg?style=flat-square)](http://packagequality.com/#?package=egg)
99
[![NPM download](https://img.shields.io/npm/dm/egg.svg?style=flat-square)](https://npmjs.org/package/egg)
1010

@@ -34,7 +34,7 @@ $ open http://localhost:7001
3434

3535
## 文档
3636

37-
- [官方文档](https://eggjs.org/zh-cn/)
37+
- [官方文档](https://v3.eggjs.org/zh-CN/)
3838
- [插件列表](https://github.com/search?q=topic%3Aegg-plugin&type=Repositories)
3939
- [框架列表](https://github.com/search?q=topic%3Aegg-framework&type=Repositories)
4040
- [官方示例](https://github.com/eggjs/examples)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "egg",
33
"version": "3.30.1",
44
"publishConfig": {
5-
"tag": "latest",
5+
"tag": "release-3.x",
66
"access": "public"
77
},
88
"description": "A web framework's framework for Node.js",

site/config/config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default defineConfig({
2121
exportStatic: {},
2222

2323
sitemap: {
24-
hostname: 'https://eggjs.org',
24+
hostname: 'https://v3.eggjs.org',
2525
},
2626

2727
navs: {
@@ -39,6 +39,10 @@ export default defineConfig({
3939
title: 'Plugins',
4040
path: 'https://github.com/search?q=topic%3Aegg-plugin&type=Repositories',
4141
},
42+
{
43+
title: 'v4.x',
44+
path: 'https://eggjs.org',
45+
},
4246
],
4347
'zh-CN': [
4448
null,
@@ -54,6 +58,10 @@ export default defineConfig({
5458
title: '发布日志',
5559
path: 'https://github.com/eggjs/egg/releases',
5660
},
61+
{
62+
title: 'v4.x',
63+
path: 'https://eggjs.org',
64+
},
5765
],
5866
},
5967

vercel.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)