Prepare gitlab configs

stable
Vladimir Volek 6 years ago
parent 0aa1cb75ed
commit f0e45b6c33

@ -40,17 +40,15 @@ build beta:
stage: build
script:
- yarn run build:beta
when: manual
artifacts:
expire_in: 1 month
paths:
- build/beta
build production:
build stable:
stage: build
script:
- yarn run build:stable
when: manual
artifacts:
expire_in: 1 month
paths:
@ -73,3 +71,33 @@ deploy review:
- branches
tags:
- deploy
deploy stage beta:
stage: deploy
variables:
GIT_STRATEGY: none
when:
- manual
dependencies:
- build beta
script:
- echo "Deploy staging beta version"
only:
- beta
tags:
- deploy
deploy stage stable:
stage: deploy
variables:
GIT_STRATEGY: none
when:
- manual
dependencies:
- build stable
script:
- echo "Deploy staging stable version"
only:
- stable
tags:
- deploy

Loading…
Cancel
Save