File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
16
- - name : Checkout zh-hans. react.dev code
16
+ - name : Checkout react.dev code
17
17
uses : actions/checkout@v4
18
18
with :
19
- repository : reactjs/zh-hans. react.dev
19
+ repository : reactjs/react.dev
20
20
21
21
- name : Checkout code
22
22
uses : actions/checkout@v4
75
75
push : true
76
76
context : .
77
77
platforms : linux/amd64,linux/arm64
78
- tags : ${{ secrets.DOCKER_USER }}/zh-hans. react.dev:latest
78
+ tags : ${{ secrets.DOCKER_USER }}/react.dev:latest
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
- - name : Checkout zh-hans. react.dev code
15
+ - name : Checkout react.dev code
16
16
uses : actions/checkout@v4
17
17
with :
18
- repository : reactjs/zh-hans. react.dev
18
+ repository : reactjs/react.dev
19
19
20
20
- name : Checkout code
21
21
uses : actions/checkout@v4
75
75
context : .
76
76
platforms : linux/amd64,linux/arm64
77
77
tags : |
78
- ${{ secrets.DOCKER_USER }}/zh-hans. react.dev:latest
79
- ${{ secrets.DOCKER_USER }}/zh-hans. react.dev:${{ github.ref_name }}
78
+ ${{ secrets.DOCKER_USER }}/react.dev:latest
79
+ ${{ secrets.DOCKER_USER }}/react.dev:${{ github.ref_name }}
80
80
Original file line number Diff line number Diff line change 1
- React 中文文档 for [ Docker] ( https://hub.docker.com/r/wcjiang/zh-hans. react.dev )
1
+ React documentation for [ Docker] ( https://hub.docker.com/r/wcjiang/react.dev )
2
2
===
3
3
4
4
<!-- rehype:ignore:start-->
5
5
[ ![ CI] ( https://github.com/jaywcjlove/zh-hans.react.dev-for-docker/actions/workflows/ci.yml/badge.svg )] ( https://github.com/jaywcjlove/zh-hans.react.dev-for-docker/actions/workflows/ci.yml )
6
- [ ![ Docker Image Version (latest by date)] ( https://img.shields.io/docker/v/wcjiang/zh-hans. react.dev )] ( https://hub.docker.com/r/wcjiang/zh-hans. react.dev )
7
- [ ![ Docker Image Size (latest by date)] ( https://img.shields.io/docker/image-size/wcjiang/zh-hans. react.dev )] ( https://hub.docker.com/r/wcjiang/zh-hans. react.dev )
8
- [ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/wcjiang/zh-hans. react.dev )] ( https://hub.docker.com/r/wcjiang/zh-hans. react.dev )
6
+ [ ![ Docker Image Version (latest by date)] ( https://img.shields.io/docker/v/wcjiang/react.dev )] ( https://hub.docker.com/r/wcjiang/react.dev )
7
+ [ ![ Docker Image Size (latest by date)] ( https://img.shields.io/docker/image-size/wcjiang/react.dev )] ( https://hub.docker.com/r/wcjiang/react.dev )
8
+ [ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/wcjiang/react.dev )] ( https://hub.docker.com/r/wcjiang/react.dev )
9
9
[ ![ GitHub last commit] ( https://img.shields.io/github/last-commit/jaywcjlove/zh-hans.react.dev-for-docker?style=flat&label=zh-hans.react.dev )] ( https://github.com/jaywcjlove/zh-hans.react.dev-for-docker/commits )
10
10
<!-- rehype:ignore:end-->
11
11
12
- 新 [ React 中文文档 ] ( https://zh-hans.react.dev/ ) docker 版本,方便本地 [ 部署 ] ( https:// github.com/reactjs/zh-hans. react.dev) 查看文档
12
+ The new [ React documentation ] ( https://github.com/reactjs/react.dev ) supports Docker deployment, making it convenient for local viewing and learning.
13
13
14
14
15
15
``` bash
16
- docker pull wcjiang/zh-hans. react.dev:latest
16
+ docker pull wcjiang/react.dev:latest
17
17
```
18
18
19
19
``` bash
20
20
docker run --name zh-hans.react.dev \
21
- -p 60007 :3000 \
21
+ -p 60009 :3000 \
22
22
--restart=always \
23
- -d wcjiang/zh-hans. react.dev:latest
23
+ -d wcjiang/react.dev:latest
24
24
```
25
25
26
26
## License
You can’t perform that action at this time.
0 commit comments