Merge pull request #1964 from LLK/hotfix/circleci-push-translations

Circleci setup cron to push translations
This commit is contained in:
Bryce Taylor 2022-04-22 14:05:36 -04:00 committed by GitHub
commit e340fa6757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,6 +92,17 @@ jobs:
<<: *deploy-npm <<: *deploy-npm
- run: - run:
<<: *tag-commit <<: *tag-commit
push-translations:
<<: *defaults
steps:
- checkout
- run:
<<: *setup
- run:
name: "run i18n script"
command: |
npm run i18n:src
npm run i18n:push
workflows: workflows:
build-test-no-deploy: build-test-no-deploy:
@ -117,3 +128,15 @@ workflows:
- master - master
- develop - develop
- /^hotfix\/.*/ - /^hotfix\/.*/
push-translations:
triggers:
- schedule:
cron: 0 0 * * * # daily at 12 UTC, 8 ET
filters:
branches:
only:
- develop
jobs:
- push-translations:
context:
- dockerhub-credentials