Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
855 commits
Select commit Hold shift + click to select a range
0f829c6
Update fast-refresh.md
sunnylqm Jun 28, 2023
48cf4dd
Update _markdown_native_deprecation.mdx
sunnylqm Jun 29, 2023
7c16276
Update cxx-cxxturbomodules.md
sunnylqm Jun 29, 2023
b0c48ad
Update flexbox.md
sunnylqm Jul 1, 2023
5845d15
update 0.72
sunnylqm Jul 1, 2023
4be2da2
Update panresponder.md (#724)
zerosrat Jul 4, 2023
3ed55c3
Update usecolorscheme.md (#726)
SSYNG Jul 6, 2023
8d8a471
update gradle-plugin
sunnylqm Jul 7, 2023
a62cc94
Update xplat-implementation.md (#728)
GmhLovEDM Jul 17, 2023
5d71dfc
update
sunnylqm Jul 18, 2023
fe6e34b
0805 sync 0.73 (#734)
sunnylqm Aug 5, 2023
b963314
Merge pull request #735 from facebook/main
sunnylqm Aug 5, 2023
2afea7e
Update animatedvalue.md
sunnylqm Aug 5, 2023
7d2955c
Update animatedvaluexy.md
sunnylqm Aug 5, 2023
85b5d05
Update react-18-and-react-native.md
sunnylqm Aug 9, 2023
bb142e5
Update colors.md
sunnylqm Aug 15, 2023
4993be6
fix
sunnylqm Aug 30, 2023
5626c52
fix
sunnylqm Aug 30, 2023
f0efda2
fix: format
sunnylqm Aug 30, 2023
19bed75
fix
sunnylqm Aug 30, 2023
04dc805
fix format
sunnylqm Sep 2, 2023
75bf95a
Merge branch 'facebook-main' into production
sunnylqm Sep 16, 2023
2aa84fc
fix: format
sunnylqm Sep 16, 2023
3042c1d
fix: format
sunnylqm Sep 16, 2023
566e167
fix: format
sunnylqm Oct 8, 2023
d512519
update keystore
sunnylqm Oct 11, 2023
9358075
chore: add sponsor
sunnylqm Oct 21, 2023
6dc26bc
fix: sponsor style
sunnylqm Oct 21, 2023
38421ae
Update accessibility.md
sunnylqm Oct 21, 2023
dc5bd29
chore: proxy
sunnylqm Oct 21, 2023
cd6c2fa
Merge pull request #766 from facebook/main
sunnylqm Oct 29, 2023
99531e3
update getting started
sunnylqm Nov 2, 2023
aaf6789
更新 index.tsx
sunnylqm Nov 22, 2023
06dd33d
Merge pull request #773 from facebook/main
sunnylqm Nov 25, 2023
1e64797
Update headless-js-android.md
sunnylqm Nov 25, 2023
97707c0
Update button.md
sunnylqm Nov 26, 2023
b8f21d5
Update actionsheetios.md
sunnylqm Nov 27, 2023
e3e42bf
Update new-architecture-intro.md
sunnylqm Nov 27, 2023
581b3b8
update
sunnylqm Nov 27, 2023
1f11d3d
Squashed commit of the following:
sunnylqm Dec 10, 2023
37b4e4a
Merge branch 'facebook-main' into production
sunnylqm Dec 10, 2023
23af130
feat: 0.73
sunnylqm Dec 10, 2023
74ac6c6
fix: build
sunnylqm Dec 10, 2023
a77487e
fix: add _redirects
sunnylqm Dec 11, 2023
05595c0
fix: redirects
sunnylqm Dec 11, 2023
fa460b2
Delete .github/ISSUE_TEMPLATE/config.yml
sunnylqm Dec 13, 2023
8106504
Update debugging-release-builds.md
sunnylqm Dec 17, 2023
14920f6
Update flatlist.md
sunnylqm Dec 17, 2023
66603d1
Update flatlist.md
sunnylqm Dec 18, 2023
b44412a
Update flatlist.md
sunnylqm Dec 18, 2023
2aaf0c7
Merge pull request #780 from reactnativecn/sunnylqm-patch-1
sunnylqm Dec 18, 2023
64b9b76
Update profile-hermes.md
sunnylqm Dec 23, 2023
5fdcc0e
Update animations.md
sunnylqm Jan 6, 2024
8df44e3
Update dimensions.md
sunnylqm Jan 6, 2024
c1b0ffa
Update debugging.md
sunnylqm Jan 6, 2024
10b5a85
update
sunnylqm Jan 15, 2024
486f996
Merge pull request #788 from facebook/main
sunnylqm Jan 17, 2024
b88d687
Merge pull request #793 from facebook/main
sunnylqm Feb 12, 2024
a47e385
Add imports for Tabs, TabItem, and constants
sunnylqm Feb 12, 2024
0db5a81
Update linking.md
coder-xiaomo Feb 18, 2024
0b2c410
Merge pull request #796 from coder-xiaomo/patch-1
sunnylqm Feb 19, 2024
b23e114
Merge branch 'facebook-main' into production
sunnylqm Feb 27, 2024
6b92b86
Update keyboard.md
sunnylqm Feb 27, 2024
67a3f55
Update keyboard.md
sunnylqm Feb 27, 2024
b25ad1b
Merge pull request #803 from facebook/main
sunnylqm Mar 3, 2024
c517b78
fix
sunnylqm Mar 3, 2024
4a7ca32
touchable highlight
sunnylqm Mar 3, 2024
27116a5
update
sunnylqm Mar 3, 2024
3b0772b
Update publishing-to-app-store.md
AmorDiamond Mar 4, 2024
7cb5a6b
Merge pull request #804 from AmorDiamond/patch-1
sunnylqm Mar 4, 2024
8356ac4
Update images.md
smallbonelu Mar 5, 2024
cfe7793
Update colors.md
smallbonelu Mar 5, 2024
78ffdbb
Merge pull request #806 from smallbonelu/patch-2
sunnylqm Mar 5, 2024
4723fba
Merge pull request #805 from smallbonelu/patch-1
sunnylqm Mar 5, 2024
c419b96
Merge pull request #810 from facebook/main
sunnylqm Mar 6, 2024
e12afa4
Update building-for-tv.md
sunnylqm Mar 9, 2024
95c9917
Update communication-ios.md
sunnylqm Mar 9, 2024
d8ff1e1
Update direct-manipulation.md
sunnylqm Mar 9, 2024
6be5684
Update image-style-props.md
sunnylqm Mar 9, 2024
750663d
update
sunnylqm Mar 9, 2024
305b16f
Update optimizing-flatlist-configuration.md
sunnylqm Mar 10, 2024
4b3f06c
Update optimizing-flatlist-configuration.md
sunnylqm Mar 10, 2024
245cdfa
update
sunnylqm Mar 10, 2024
902f902
Update inputaccessoryview.md
sunnylqm Mar 23, 2024
693a22c
Update layout-props.md
sunnylqm Mar 23, 2024
ea5fcc7
Update layout-props.md
sunnylqm Mar 23, 2024
7cdfa5b
Refactor code to improve performance and readability
sunnylqm Mar 23, 2024
7fb2107
Fix import formatting in libraries.md
sunnylqm Mar 23, 2024
4cef585
Update Metro configuration in React Native
sunnylqm Mar 23, 2024
cda2e95
Update native module setup documentation
sunnylqm Mar 23, 2024
03ef2e1
Update Turbo Modules integration and codegen instructions
sunnylqm Mar 24, 2024
340dbca
Merge pull request #821 from facebook/main
sunnylqm Mar 31, 2024
752075e
Update intro-react-native-components.md
hongyu68 May 7, 2024
598f280
Merge pull request #831 from hongyu68/patch-1
sunnylqm May 8, 2024
076c5eb
Merge branch 'facebook-main' into production
sunnylqm May 12, 2024
085ee2f
0.74
sunnylqm May 12, 2024
52f1ab3
Update security.md
sunnylqm Jun 1, 2024
8ea3a69
update
sunnylqm Jun 17, 2024
1393e64
Update Android SDK version requirement to support Android 6 and above
sunnylqm Jun 24, 2024
35ca0ac
Merge pull request #849 from facebook/main
sunnylqm Jun 26, 2024
fc3dab0
Update text.md
sunnylqm Jun 26, 2024
75ff043
update
sunnylqm Jun 28, 2024
1bdb7d2
Update debugging-release-builds.md and other-debugging-methods.md tit…
sunnylqm Jul 4, 2024
1cbe94d
update cdn
sunnylqm Jul 14, 2024
d7c738b
feat: Update ram-bundles-inline-requires.md
skyler-developer Aug 3, 2024
c739b85
Merge pull request #858 from skyler-developer/patch-1
sunnylqm Aug 3, 2024
6451f66
Merge pull request #861 from facebook/main
sunnylqm Aug 15, 2024
bbb1871
0.75
sunnylqm Aug 21, 2024
293a6d1
update
sunnylqm Aug 28, 2024
164ad12
update
sunnylqm Sep 6, 2024
89f68b4
Update _getting-started-linux-android.md
sunnylqm Sep 10, 2024
74600b3
Update _getting-started-macos-android.md
sunnylqm Sep 10, 2024
7e5f802
Update _getting-started-macos-ios.md
sunnylqm Sep 10, 2024
44d6731
Update _getting-started-windows-android.md
sunnylqm Sep 10, 2024
2119647
Update _getting-started-linux-android.md
sunnylqm Sep 10, 2024
96590b7
Update _getting-started-macos-android.md
sunnylqm Sep 10, 2024
05c63a4
Update _getting-started-windows-android.md
sunnylqm Sep 10, 2024
e99e708
fix:代码中的中文符号
YBFACC Sep 12, 2024
95521b5
Merge pull request #875 from YBFACC/fix
sunnylqm Sep 12, 2024
9e2c10e
Update architecture-overview.md
sunnylqm Sep 18, 2024
7173ceb
Update architecture-glossary.md
sunnylqm Sep 18, 2024
566bbc8
Merge pull request #884 from facebook/main
sunnylqm Sep 27, 2024
16cd926
Merge branch 'facebook-main' into production
sunnylqm Oct 19, 2024
5ac0dbe
update
sunnylqm Oct 19, 2024
34b6626
Merge pull request #897 from facebook/main
sunnylqm Oct 30, 2024
342c565
update
sunnylqm Nov 2, 2024
c2a3857
0.76
sunnylqm Nov 2, 2024
c6562af
update
sunnylqm Nov 2, 2024
7b5e48d
update
sunnylqm Nov 3, 2024
d5cfa0f
update
sunnylqm Nov 3, 2024
30959e6
update
Dec 10, 2024
a642204
Merge pull request #920 from facebook/main
sunnylqm Dec 15, 2024
2279925
Merge pull request #928 from facebook/main
sunnylqm Jan 12, 2025
3331108
update
sunnylqm Jan 12, 2025
0b4e8b3
Merge pull request #931 from facebook/main
sunnylqm Feb 2, 2025
444c39a
Merge branch 'facebook-main' into production
sunnylqm Feb 13, 2025
66fae34
update
sunnylqm Feb 13, 2025
d6c0bc5
Merge branch 'facebook-main' into production
sunnylqm Feb 13, 2025
340fec2
0.77
sunnylqm Feb 13, 2025
9b33a2e
fix build
sunnylqm Feb 13, 2025
2d969d4
Update gh-pages.yml
sunnylqm Feb 13, 2025
1288796
test
sunnylqm Feb 13, 2025
bbbe404
Update gh-pages.yml
sunnylqm Feb 14, 2025
ead6658
test 2
sunnylqm Feb 14, 2025
f9e3f80
update scrollview
sunnylqm Feb 14, 2025
e040c19
docs: Update Android SDK version description in getting started guides
sunnylqm Feb 19, 2025
a5e5ffd
Merge branch 'facebook-main' into production
sunnylqm Mar 30, 2025
cc7160c
0.78
sunnylqm Mar 30, 2025
415e51e
Update linking.md
sunnylqm Apr 11, 2025
64d80e7
Update linking.md
sunnylqm Apr 11, 2025
3d39f4a
Merge branch 'facebook-main' into production
sunnylqm Apr 14, 2025
bfa6a44
sync
sunnylqm Apr 14, 2025
73a3943
Merge branch 'facebook-main' into production
sunnylqm May 13, 2025
fa1f340
0.79
sunnylqm May 13, 2025
70bd672
update assets
sunnylqm May 14, 2025
8bcfa8b
Merge pull request #965 from facebook/main
sunnylqm Jul 18, 2025
5e8de96
Update package.json and enhance sidebars with new labels and categori…
sunnylqm Jul 18, 2025
b908221
0,80
sunnylqm Aug 6, 2025
e8c7845
Update documentation to reflect recent changes and improve clarity
sunnylqm Aug 7, 2025
8da3438
cleanup
sunnylqm Aug 7, 2025
ff2426f
Remove ExternalLink icon component and update styles with licensing i…
sunnylqm Aug 7, 2025
aee8560
Merge branch 'facebook-main' into production
sunnylqm Aug 16, 2025
a65dc60
Merge pull request #972 from facebook/main
sunnylqm Aug 18, 2025
5e9824b
Update package configurations and styles for cnwebsite
sunnylqm Aug 18, 2025
054699b
Remove packageManager entry from package.json and maintain resolution…
sunnylqm Aug 19, 2025
1c74aea
Merge branch 'facebook-main' into production
sunnylqm Sep 16, 2025
6175ea3
Merge branch 'facebook-main' into production
sunnylqm Oct 4, 2025
ddc8b67
Merge pull request #983 from facebook/main
sunnylqm Oct 22, 2025
fcd5bbb
Update iOS integration documentation and package dependencies
sunnylqm Oct 24, 2025
c486024
Remove legacy native module setup documentation and update content to…
sunnylqm Oct 24, 2025
dddc754
Update advanced topics documentation for native modules and components
sunnylqm Oct 24, 2025
41b15db
Update build script and modify redirects in documentation
sunnylqm Oct 24, 2025
20e3e52
Refactor build script in package.json
sunnylqm Oct 24, 2025
5bf889b
Update communication documentation and fix links
sunnylqm Oct 24, 2025
b220dc9
fix build
sunnylqm Oct 24, 2025
7bca6eb
Refactor SCSS imports to use @use syntax
sunnylqm Oct 24, 2025
a5de1dc
Update links in Turbo Module documentation for Codegen
sunnylqm Oct 25, 2025
9f86df5
Update package.json and yarn.lock for project structure and dependenc…
sunnylqm Oct 25, 2025
2cc4bc3
Merge branch 'facebook:main' into production
sunnylqm Nov 8, 2025
77f26fa
refactor: update Systrace documentation and example code
sunnylqm Nov 19, 2025
eaf2bfe
docs: update Chinese translations and improve documentation clarity
sunnylqm Nov 19, 2025
be22b52
Merge branch 'facebook-main' into production
sunnylqm Dec 21, 2025
b6edf1f
0.83
sunnylqm Dec 22, 2025
0f07fef
Update ----.md
sunnylqm Jan 8, 2026
22088c3
fix
sunnylqm Jan 10, 2026
d3a22a9
Update dependencies in package.json and yarn.lock; remove unused comp…
sunnylqm Jan 10, 2026
8ff9f9c
Fix formatting issues in index.js for improved readability of Chinese…
sunnylqm Jan 10, 2026
5285210
自动翻译:手动执行更新 2 篇文档
sunnylqm Feb 15, 2026
28e74a7
docs(cndocs): 手动补齐 accessibility 与 accessibilityinfo 翻译
sunnylqm Feb 15, 2026
9f8cea0
Merge pull request #991 from reactnativecn/auto-translate-manual-2026…
sunnylqm Feb 15, 2026
28829d5
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Feb 15, 2026
61ad64e
docs(cndocs): 高质量翻译 alertios/animated/animatedvalue
sunnylqm Feb 15, 2026
17b1297
docs(cndocs): 高质量翻译下一批 10 篇文档
sunnylqm Feb 15, 2026
0b8fec3
Merge pull request #994 from reactnativecn/auto-translate-20260215-qu…
sunnylqm Feb 15, 2026
ae571ac
docs(cndocs): 回滚 #994 引入的 title 变更
sunnylqm Feb 15, 2026
f3be27b
Merge pull request #996 from reactnativecn/fix-title-after-994
sunnylqm Feb 15, 2026
76e40cd
docs(cndocs): 同步翻译更新(高质量)
sunnylqm Feb 15, 2026
bcef5ae
Merge pull request #997 from reactnativecn/auto-translate-20260215-batch
sunnylqm Feb 16, 2026
522035d
chore(translate): add persistent progress tracker
sunnylqm Feb 17, 2026
eab3d52
docs(cndocs): 同步翻译更新(高质量) (#998)
sunnylqm Feb 17, 2026
804aa4b
chore(translate): restore sync-translations script
sunnylqm Feb 17, 2026
38591ea
chore: update translation progress timestamp
sunnylqm Feb 17, 2026
ab206ad
0.84
sunnylqm Feb 18, 2026
ab41538
update lock
sunnylqm Feb 18, 2026
74f1bf4
fix
sunnylqm Feb 18, 2026
49b7f9b
docs(cndocs): 同步上游删除 rectorsize.md (#999)
sunnylqm Feb 19, 2026
9791cd4
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Feb 19, 2026
ea324e5
docs(cndocs): 同步翻译更新(高质量) (#1000)
sunnylqm Feb 20, 2026
b09e6d7
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Feb 20, 2026
2e2f64d
docs(cndocs): 同步翻译更新(高质量) (#1001)
sunnylqm Feb 21, 2026
67d7cef
docs(cndocs): 同步翻译更新(高质量) (#1002)
sunnylqm Feb 22, 2026
acf6b9e
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Feb 22, 2026
87d7af4
docs(cndocs): 同步翻译更新(高质量)- 2026-02-22 批次 (#1003)
sunnylqm Feb 22, 2026
e49dedd
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Feb 24, 2026
83c697e
fix link
sunnylqm Feb 26, 2026
43f2512
chore(cnwebsite): align deps with website and take upstream yarn.lock
sunnylqm Feb 27, 2026
5154dfa
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Feb 28, 2026
62ede54
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 2, 2026
d805185
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 3, 2026
ff45c5c
docs(cndocs): 同步翻译更新(高质量) (#1004)
sunnylqm Mar 5, 2026
44faa2e
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 7, 2026
3cf288b
docs(cndocs): 同步翻译更新(高质量) (#1005)
sunnylqm Mar 8, 2026
959e4a1
Revert "docs(cndocs): 同步翻译更新(高质量) (#1005)"
sunnylqm Mar 8, 2026
bd653c9
docs(cndocs): 同步翻译更新(高质量) (#1006)
sunnylqm Mar 10, 2026
5cf5ef2
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 10, 2026
0a47fd0
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 12, 2026
d48e095
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 14, 2026
e6c1753
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 21, 2026
36e85c8
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 23, 2026
62d1030
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 26, 2026
abaa5d4
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 27, 2026
1b1bf62
Merge remote-tracking branch 'upstream/main' into production
sunnylqm Mar 28, 2026
eda9403
fix: also re-translate merged files when upstream source is updated l…
sunnylqm Apr 1, 2026
769e14c
docs(cndocs): 同步多篇 React Native 中文文档更新 (#1008)
sunnylqm Apr 10, 2026
9392209
docs(cndocs): 同步更多 React Native 中文文档更新 (#1009)
sunnylqm Apr 12, 2026
aa0d557
docs(cndocs): 批量同步 52 个中文文档(2026-04-13) (#1010)
sunnylqm Apr 13, 2026
bd8b4d7
feat(cnwebsite): cut 0.85 version, update sidebar with 6 missing entr…
sunnylqm Apr 13, 2026
055787f
Update gh-pages.yml
sunnylqm Apr 13, 2026
1b9b452
docs(cndocs): 同步 8 个中文文档(2026-04-14) (#1012)
sunnylqm Apr 14, 2026
41f6d82
fix(cnwebsite): restore missing 0.85 doc assets (#1014)
sunnylqm Apr 18, 2026
1db442c
docs(cndocs): sync outdated translations batch 2026-04-17 (#1013)
sunnylqm Apr 19, 2026
d480a87
docs(cndocs): 完成 integration-with-existing-apps Android (Kotlin) 部分翻译…
sunnylqm Apr 25, 2026
8bb2903
docs(cndocs): update headless-js-android code fence jsx→tsx (#1017)
sunnylqm Apr 29, 2026
c9850cb
docs(cndocs): update fast-refresh error boundaries URL (reactjs.org →…
sunnylqm May 3, 2026
7c2039b
docs(cndocs): sync platform-specific-code with upstream (#1019)
sunnylqm May 5, 2026
2e66399
docs: add translation sync skill for Hermes Agent cron automation (#1…
sunnylqm May 5, 2026
b143d79
merge: sync upstream/main into production
sunnylqm May 8, 2026
19c801c
docs(cndocs): sync translations with upstream + update cnwebsite conf…
sunnylqm May 8, 2026
06ea604
Merge remote-tracking branch 'upstream/main' into production
sunnylqm May 11, 2026
46b8577
fix(cnwebsite): fix build for Docusaurus 3.10
sunnylqm May 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/----.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: 提问模板
about: 请按此模板格式提问
title: ''
labels: ''
assignees: ''
---

请按以下格式提供问题的相关信息。

## 问题的具体描述

- 如果是安装过程中的问题,请再三确认你有使用稳定的代理工具,且代理工具对命令行有生效(如开启全局模式等等)
- 请说明具体操作步骤和现象(例如执行什么命令,或者点击哪里,出现了什么异常现象或错误信息)
- 请尽量配上相关报错截图
- 如果是 ios 编译报错,请打开 Xcode 运行后对报错截图
- 如果设备上有红屏报错请直接截图
- 如果命令行有报错请直接截图
- 警告(warning)一般不用管
- 如果设备上看不到报错,请先尝试[调试模式](https://reactnative.cn/docs/debugging)。
- 如果是发行版本无法调试,对于安卓设备请使用[adb logcat 命令](https://developer.android.google.cn/studio/command-line/logcat)来捕获日志并粘贴到这里。iOS 设备查看日志的[一些方法](https://juejin.im/post/5e7c5c8ce51d455c0e12dd7a)。
- 请尽量配上相关代码截图,如果贴代码文本,请使用 markdown 的代码格式(首尾行各用三个`符号包起来)

## 请描述完整的环境/版本信息

- 请在命令行的项目目录中运行`npx react-native info`命令,并将其输出结果粘贴到这里。
- 如果问题涉及到第三方包/库/模块,请也将 package.json 的内容粘贴到这里。

## 预期结果

- 请描述你觉得代码正常运行的情况应该是什么样子。
- 如果问题比较模糊,没有具体方案,那么请具体描述你想要实现什么功能。
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/other.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: github pages

on:
push:
branches:
- production
paths:
- "cnwebsite/**"
- "cndocs/**"

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: "24"

- name: Enable Corepack
run: corepack enable

- name: Build
run: |
yarn
cd cnwebsite
yarn build

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./cnwebsite/build
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ website/.docusaurus
website/.cache-loader
website/build/

cnwebsite/.docusaurus
cnwebsite/.cache-loader
cnwebsite/build/
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.pnp.*
.yarn/*
Expand Down
Loading
Loading