Update .gitlab-ci.yml

This commit is contained in:
Tobias Kantusch
2021-04-28 15:04:43 +00:00
parent 8b6fef3c34
commit 13c0752d99

View File

@ -91,7 +91,7 @@ deploy_review:
HOSTNAME: $CI_ENVIRONMENT_SLUG.$BASE_DOMAIN
environment:
name: $CI_COMMIT_REF_SLUG
url: http://$HOSTNAME
url: http://$CI_ENVIRONMENT_SLUG.$BASE_DOMAIN
on_stop: stop_review
only:
- branches
@ -125,7 +125,7 @@ deploy_staging:
HOSTNAME: staging.$BASE_DOMAIN
environment:
name: staging
url: http://$HOSTNAME
url: http://staging.$BASE_DOMAIN
only:
- main
@ -136,7 +136,7 @@ deploy_production:
HOSTNAME: $PRODUCTION_URL
environment:
name: production
url: https://$HOSTNAME
url: https://$PRODUCTION_URL
only:
- main
when: manual