Move i18n into build job
This commit is contained in:
parent
1af36da927
commit
1e03349cc0
1 changed files with 6 additions and 10 deletions
|
@ -94,7 +94,12 @@ nginx-test:
|
|||
|
||||
build-production:
|
||||
stage: test
|
||||
script: yarn build
|
||||
script:
|
||||
- yarn build
|
||||
- yarn manage:translations en
|
||||
# Fail if files got changed.
|
||||
# https://stackoverflow.com/a/9066385
|
||||
- git diff --quiet
|
||||
variables:
|
||||
NODE_ENV: production
|
||||
artifacts:
|
||||
|
@ -116,15 +121,6 @@ docs-deploy:
|
|||
- "docs/**/*"
|
||||
interruptible: true
|
||||
|
||||
i18n:
|
||||
stage: deploy
|
||||
script:
|
||||
- yarn manage:translations en
|
||||
# Fail if files got changed.
|
||||
# https://stackoverflow.com/a/9066385
|
||||
- git diff --quiet
|
||||
interruptible: true
|
||||
|
||||
review:
|
||||
stage: deploy
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue