diff --git a/.circleci/config.yml b/.circleci/config.yml index a49613fd6fe7be6ebf0e4dfc4a38df1d13148bcf..3398a7295c9d700e8572fdbfc148182c773d40e2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -162,9 +162,31 @@ jobs: git config --global user.email $(git log --pretty=format:"%ae" -n1) git config --global user.name $(git log --pretty=format:"%an" -n1) - run: npm run deploy -- -e $CIRCLE_BRANCH + push-translations: + <<: *defaults + steps: + - *restore_git_cache + - checkout + - *restore_npm_cache + - run: npm run i18n:src + - run: npm run i18n:push workflows: version: 2 + push-translations: + triggers: + - schedule: + cron: 0 0 * * * # daily at 12 UTC, 8 ET + filters: + branches: + only: + - develop + jobs: + - setup + - push-translations: + requires: + - setup + build-test-deploy: jobs: - setup