mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 15:17:53 -05:00
Revert "Revert "attempt to get travis cron job to only run translations""
This commit is contained in:
parent
1e48a9cb4a
commit
bbae4570e0
1 changed files with 6 additions and 7 deletions
13
.travis.yml
13
.travis.yml
|
@ -135,13 +135,12 @@ jobs:
|
|||
- master
|
||||
- stage: smoke
|
||||
script: npm run test:integration:remote
|
||||
- stage: update translations
|
||||
script: npm run i18n:push
|
||||
stages:
|
||||
- test
|
||||
if: type != cron
|
||||
- name: smoke
|
||||
if: type != pull_request
|
||||
- provider: script
|
||||
on:
|
||||
branch: develop
|
||||
condition: $TRAVIS_EVENT_TYPE == cron
|
||||
skip_cleanup: true
|
||||
script: npm run i18n:push
|
||||
if: type NOT IN (cron, pull_request)
|
||||
- name: update translations
|
||||
if: branch == develop AND type == cron
|
||||
|
|
Loading…
Reference in a new issue