Skip to content

Commit

Permalink
Automate i18n sync (#22967)
Browse files Browse the repository at this point in the history
* Automate test translation PR

* Fix YAML spacing
  • Loading branch information
Aisha Blake authored Apr 9, 2020
1 parent ee97e05 commit f1a9616
Showing 1 changed file with 24 additions and 0 deletions.
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

0 comments on commit f1a9616

Please sign in to comment.