mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-29 02:18:06 +00:00
Added step for deploy review
This commit is contained in:
parent
c70464cccd
commit
cae4c6e9c1
@ -27,29 +27,42 @@ test:
|
|||||||
script:
|
script:
|
||||||
- yarn run test
|
- yarn run test
|
||||||
|
|
||||||
build-development:
|
build development:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- yarn run build:dev
|
- yarn run build:dev
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
paths:
|
paths:
|
||||||
- build/dev
|
- /build
|
||||||
|
|
||||||
build-beta:
|
build beta:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- yarn run build:beta
|
- yarn run build:beta
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
paths:
|
paths:
|
||||||
- build/beta
|
- /build
|
||||||
|
|
||||||
build-production:
|
build production:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- yarn run build:prod
|
- yarn run build:prod
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
paths:
|
paths:
|
||||||
- build/prod
|
- /build
|
||||||
|
|
||||||
|
# deploy
|
||||||
|
deploy review:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- echo "Deploy a review app"
|
||||||
|
environment:
|
||||||
|
name: review/$CI_COMMIT_REF_NAME
|
||||||
|
url: https://$CI_ENVIRONMENT_SLUG.example.com
|
||||||
|
only:
|
||||||
|
- branches
|
||||||
|
except:
|
||||||
|
- master
|
Loading…
Reference in New Issue
Block a user