File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -133,14 +133,23 @@ DOCUSUARUS_LOCALE=jp yarn build
133
133
134
134
This allows each language to be deployed independently.
135
135
136
- Ensure you only build if the languages folder changes e.g.
136
+ Ensure you only build if the languages folder or the docusaurus config file
137
+ changes e.g.
137
138
138
139
``` text
139
140
git diff HEAD^ HEAD --quiet -- ./i18n/jp && git diff HEAD^ HEAD --quiet -- docusaurus.config.jp.js && exit 0 || exit 1
140
141
```
141
142
142
143
Example [ here] ( https://vercel.com/clickhouse/clickhouse-docs-jp/settings/git ) .
143
144
145
+ ** Note:** Only your last commit is checked, so if you make commits which don't
146
+ touch those folders, you'll need to make a change in the appropriate i18n folder
147
+ or the config file for translations to be deployed.
148
+
149
+ There is a ` README.md ` file in each ` i18n/locale ` folder for this purpose.
150
+ Simply change the date in that file and commit the changes to get the translations
151
+ to redeploy on vercel.
152
+
144
153
9 . Add the route to the website worker - [ example PR] ( https://github.com/ClickHouse/clickhouse-website-worker/pull/285/files )
145
154
146
155
## Known issues
You can’t perform that action at this time.
0 commit comments