kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Move i18n into build job
rodzic
1af36da927
commit
1e03349cc0
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue