mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-14 15:09:59 -04:00
revised travis yml to move condition to stage section
This commit is contained in:
parent
a4764e0581
commit
725740293a
1 changed files with 4 additions and 3 deletions
|
@ -122,7 +122,6 @@ jobs:
|
|||
script: npm run deploy
|
||||
on:
|
||||
repo: LLK/scratch-www
|
||||
condition: $TRAVIS_EVENT_TYPE != cron
|
||||
branch:
|
||||
- develop
|
||||
- hotfix/*
|
||||
|
@ -138,8 +137,10 @@ jobs:
|
|||
script: npm run test:integration:remote
|
||||
- stage: update translations
|
||||
script: npm run i18n:push
|
||||
if: branch == develop AND type == cron
|
||||
stages:
|
||||
- test
|
||||
if: type != cron
|
||||
- name: smoke
|
||||
if: type != pull_request
|
||||
if: type NOT IN (cron, pull_request)
|
||||
- name: update translations
|
||||
if: branch == develop AND type == cron
|
||||
|
|
Loading…
Reference in a new issue