mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 05:52:42 -05:00
Merge pull request #1964 from LLK/hotfix/circleci-push-translations
Circleci setup cron to push translations
This commit is contained in:
commit
e340fa6757
1 changed files with 23 additions and 0 deletions
|
@ -92,6 +92,17 @@ jobs:
|
|||
<<: *deploy-npm
|
||||
- run:
|
||||
<<: *tag-commit
|
||||
push-translations:
|
||||
<<: *defaults
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
<<: *setup
|
||||
- run:
|
||||
name: "run i18n script"
|
||||
command: |
|
||||
npm run i18n:src
|
||||
npm run i18n:push
|
||||
|
||||
workflows:
|
||||
build-test-no-deploy:
|
||||
|
@ -117,3 +128,15 @@ workflows:
|
|||
- master
|
||||
- develop
|
||||
- /^hotfix\/.*/
|
||||
push-translations:
|
||||
triggers:
|
||||
- schedule:
|
||||
cron: 0 0 * * * # daily at 12 UTC, 8 ET
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- develop
|
||||
jobs:
|
||||
- push-translations:
|
||||
context:
|
||||
- dockerhub-credentials
|
||||
|
|
Loading…
Reference in a new issue