Commit c806c5ee authored by Dominik Strässle's avatar Dominik Strässle

Merge remote-tracking branch 'origin/master'

parents c309b8c2 b3263245
Pipeline #109901146 passed with stages
in 6 minutes and 11 seconds
......@@ -46,40 +46,30 @@ test-formail:
- docker push $IMAGE_TAG_LATEST_DEV
- docker push $IMAGE_TAG_NAME_DEV
#.deploy:
# stage: deploy
# before_script:
# - apk add --no-cache curl
#
#deploy_head:
# extends: .deploy
# except:
# - tags
# environment:
# name: Head
# url: $HEAD_URL
# script:
# - curl -X POST $HEAD_HOOK
# - curl -X POST $HEAD_NGINX_HOOK
#
#deploy_stage:
# extends: .deploy
# only:
# - tags
# except:
# - /-release$/
# environment:
# name: Stage
# url: $STAGE_URL
# script:
# - curl -X POST $STAGE_HOOK
#
#deploy_prod:
# extends: .deploy
# only:
# - /-release$/
# environment:
# name: Prod
# url: $PROD_URL
# script:
# - curl -X POST $PROD_HOOK
.deploy:
stage: deploy
before_script:
- apk add --no-cache curl
deploy_head:
extends: .deploy
except:
- tags
environment:
name: Head
url: $HEAD_URL
script:
- curl -X POST $HEAD_HOOK
- curl -X POST $HEAD_NGINX_HOOK
deploy_prod:
extends: .deploy
only:
- /-release$/
environment:
name: Prod
url: $PROD_URL
script:
- curl -X POST $PROD_HOOK
- curl -X POST $PROD_NGINX_HOOK
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment