Skip to content
Snippets Groups Projects
Verified Commit a3fc4340 authored by Varac's avatar Varac
Browse files

[CI] Use CI_JOB_NAME to determine what action to take

parent c2cc39e6
No related branches found
No related tags found
No related merge requests found
......@@ -149,16 +149,16 @@ set +x
# Enable xtrace again only if it was set at beginning of script
[[ $xtrace == true ]] && set -x
case "$CI_ENVIRONMENT_NAME" in
staging)
case "$CI_JOB_NAME" in
ci.leap.se)
TAG='latest'
run ibex ssh://gitolite@leap.se/ibex
;;
production/demo/mail)
mail.bitmask.net)
TAG='demomail'
run bitmask ssh://gitolite@leap.se/bitmask
;;
production/demo/vpn)
demo.bitmask.net)
TAG='demovpn'
run bitmask ssh://gitolite@leap.se/bitmask
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment