Skip to content

Commit 3b3b86c

Browse files
committed
ci: update workflows config.
1 parent fb07ce3 commit 3b3b86c

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- name: Checkout zh-hans.react.dev code
16+
- name: Checkout react.dev code
1717
uses: actions/checkout@v4
1818
with:
19-
repository: reactjs/zh-hans.react.dev
19+
repository: reactjs/react.dev
2020

2121
- name: Checkout code
2222
uses: actions/checkout@v4
@@ -75,4 +75,4 @@ jobs:
7575
push: true
7676
context: .
7777
platforms: linux/amd64,linux/arm64
78-
tags: ${{ secrets.DOCKER_USER }}/zh-hans.react.dev:latest
78+
tags: ${{ secrets.DOCKER_USER }}/react.dev:latest

.github/workflows/tag.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- name: Checkout zh-hans.react.dev code
15+
- name: Checkout react.dev code
1616
uses: actions/checkout@v4
1717
with:
18-
repository: reactjs/zh-hans.react.dev
18+
repository: reactjs/react.dev
1919

2020
- name: Checkout code
2121
uses: actions/checkout@v4
@@ -75,6 +75,6 @@ jobs:
7575
context: .
7676
platforms: linux/amd64,linux/arm64
7777
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 }}
8080

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
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)
22
===
33

44
<!--rehype:ignore:start-->
55
[![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)
99
[![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)
1010
<!--rehype:ignore:end-->
1111

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.
1313

1414

1515
```bash
16-
docker pull wcjiang/zh-hans.react.dev:latest
16+
docker pull wcjiang/react.dev:latest
1717
```
1818

1919
```bash
2020
docker run --name zh-hans.react.dev \
21-
-p 60007:3000 \
21+
-p 60009:3000 \
2222
--restart=always \
23-
-d wcjiang/zh-hans.react.dev:latest
23+
-d wcjiang/react.dev:latest
2424
```
2525

2626
## License

0 commit comments

Comments
 (0)