mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 23:57:55 -05:00
Merge pull request #5287 from BryceLTaylor/move-translation-cron-to-circle
circleci turn on translation push cron job
This commit is contained in:
commit
86dda6a131
1 changed files with 25 additions and 0 deletions
|
@ -114,6 +114,13 @@ aliases:
|
|||
npm run test:smoke:convertReportToXunit
|
||||
- store_test_results:
|
||||
path: test/results
|
||||
- &update-translations
|
||||
<<: *defaults
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: "run i18n script"
|
||||
command: npm run i18n:push
|
||||
|
||||
jobs:
|
||||
build-staging:
|
||||
|
@ -132,6 +139,8 @@ jobs:
|
|||
<<: *integration_jest
|
||||
integration-production-tap:
|
||||
<<: *integration_tap
|
||||
update-translations:
|
||||
<<: *update-translations
|
||||
|
||||
workflows:
|
||||
build-test-deploy:
|
||||
|
@ -220,3 +229,19 @@ workflows:
|
|||
branches:
|
||||
only:
|
||||
- master
|
||||
Update-translations:
|
||||
triggers:
|
||||
- schedule: # every evening at 7pm EST (8pm EDT, Midnight UTC)
|
||||
cron: "0 0 * * *"
|
||||
filters:
|
||||
branches:
|
||||
only: develop
|
||||
jobs:
|
||||
- update-translations:
|
||||
context:
|
||||
- scratch-www-all
|
||||
- scratch-www-staging
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- develop
|
||||
|
|
Loading…
Reference in a new issue