Skip to content

Commit

Permalink
chore: download only enabled languages translation files (#8752)
Browse files Browse the repository at this point in the history
Closes #8707
  • Loading branch information
endiliey authored and SimenB committed Jul 26, 2019
1 parent f857d30 commit 5177236
Show file tree
Hide file tree
Showing 3 changed files with 794 additions and 269 deletions.
6 changes: 5 additions & 1 deletion .circleci/website.sh
Expand Up @@ -21,7 +21,11 @@ else
sudo dpkg -i crowdin.deb
# translations upload/download
yarn crowdin-upload
yarn crowdin-download
# download only enabled languages
for lang in ja es-ES ro zh-CN pt-BR ru uk
do
yarn crowdin-download -l $lang
done
# build and publish website
GIT_USER=docusaurus-bot USE_SSH=false yarn publish-gh-pages
else
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Expand Up @@ -16,7 +16,7 @@
"rename-version": "docusaurus-rename-version"
},
"dependencies": {
"docusaurus": "^1.10.0"
"docusaurus": "^1.12.0"
},
"devDependencies": {
"crowdin-cli": "^0.3.0",
Expand Down

0 comments on commit 5177236

Please sign in to comment.