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
|
- master
|
||||||
- stage: smoke
|
- stage: smoke
|
||||||
script: npm run test:integration:remote
|
script: npm run test:integration:remote
|
||||||
|
- stage: update translations
|
||||||
|
script: npm run i18n:push
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
|
if: type != cron
|
||||||
- name: smoke
|
- name: smoke
|
||||||
if: type != pull_request
|
if: type NOT IN (cron, pull_request)
|
||||||
- provider: script
|
- name: update translations
|
||||||
on:
|
if: branch == develop AND type == cron
|
||||||
branch: develop
|
|
||||||
condition: $TRAVIS_EVENT_TYPE == cron
|
|
||||||
skip_cleanup: true
|
|
||||||
script: npm run i18n:push
|
|
||||||
|
|
Loading…
Reference in a new issue