[CI] Avoid pouet-it job if no HOST variable defined

Avoid CI fail for contributors
This commit is contained in:
Luc Didry 2018-12-11 22:10:31 +01:00
parent dc6a519780
commit d0cccaadf4
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
1 changed files with 1 additions and 1 deletions

View File

@ -89,6 +89,6 @@ pouet-it:
- export NC_DOWNLOAD_URL="${NC_SHARE_URL}/?path=%2F${CI_COMMIT_TAG}%2F"
- export project="$(tr '[:lower:]' '[:upper:]' <<< ${CI_PROJECT_NAME:0:1})${CI_PROJECT_NAME:1}"
- export MESSAGE=$(echo -e "I just released a new version of "'#'"${project}!""\n${CI_PROJECT_URL}/tags/${CI_COMMIT_TAG}\nYou can download the apks on ${NC_DOWNLOAD_URL}")
- carton exec ./pouet-it-from-ci.pl
- if [[ ! -z $HOST ]]; then carton exec ./pouet-it-from-ci.pl; fi
only:
- tags