Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate i18n sync #22967

Merged
merged 2 commits into from
Apr 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,19 @@ jobs:
command: yarn run update-source
working_directory: ~/project/scripts/i18n

sync_translation_repo:
executor: node
steps:
- checkout
- run: git config --global user.name "GatsbyJS Bot"
- run: git config --global user.email "core-team@gatsbyjs.com"
- run:
command: yarn
working_directory: ~/project/scripts/i18n
- run:
command: yarn run sync ja
working_directory: ~/project/scripts/i18n

windows_unit_tests:
executor:
name: win/vs2019
Expand Down Expand Up @@ -644,6 +657,17 @@ workflows:
only:
- master

weekly-i18n-sync:
triggers:
- schedule:
cron: "0 19 * * 4"
filters:
branches:
only:
- master
jobs:
- sync_translation_repo

nightly-react-next:
triggers:
- schedule:
Expand Down