1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 10:48:22 +00:00

put back empty before script

This commit is contained in:
Vladimir Volek 2019-04-25 16:30:57 +02:00
parent 892c0abd9b
commit 2cd2d684db

View File

@ -99,6 +99,7 @@ deploy review:
name: $CI_BUILD_REF_NAME name: $CI_BUILD_REF_NAME
url: $BASE_REVIEW_URL/$CI_BUILD_REF_NAME url: $BASE_REVIEW_URL/$CI_BUILD_REF_NAME
on_stop: delete review on_stop: delete review
before_script: []
script: script:
- echo "Deploy a review app" - echo "Deploy a review app"
- '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy base dir cannot be empty" && exit 255' - '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy base dir cannot be empty" && exit 255'
@ -122,6 +123,7 @@ deploy stage beta:
when: manual when: manual
dependencies: dependencies:
- build beta - build beta
before_script: []
script: script:
- scripts/s3sync.sh stage beta - scripts/s3sync.sh stage beta
only: only:
@ -138,6 +140,7 @@ deploy stage stable:
when: manual when: manual
dependencies: dependencies:
- build stable - build stable
before_script: []
script: script:
- scripts/s3sync.sh stage stable - scripts/s3sync.sh stage stable
only: only:
@ -154,6 +157,7 @@ delete review:
environment: environment:
name: $CI_BUILD_REF_NAME name: $CI_BUILD_REF_NAME
action: stop action: stop
before_script: []
script: script:
- '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy dir can not be empty" && exit 1' - '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy dir can not be empty" && exit 1'
- '[ -z "${CI_BUILD_REF_NAME}" ] && echo "Build name can not be empty" && exit 1' - '[ -z "${CI_BUILD_REF_NAME}" ] && echo "Build name can not be empty" && exit 1'