diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14606aaea702b749176b8906f7e09795ff3244b3..18b1cafae101da9512fbd6997fa779b76f4f9616 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,8 @@ create-vps: script: - echo "hostname $HOSTNAME, subdomain $SUBDOMAIN, domain $DOMAIN, address $ADDRESS"; - ls clusters/${HOSTNAME} || echo "directory clusters/${HOSTNAME} not found" - - bash .gitlab/ci_scripts/create_vps.sh + # Creates the VPS only if an old VPS for this branch is not re-usable + - sh .gitlab/ci_scripts/create_vps.sh artifacts: paths: - clusters