Commit b23f042b authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'patch-179' into 'master'

Provide more realistic environment:action example

See merge request gitlab-org/gitlab!35935
parents dd506bad 3d198ba2
......@@ -2430,7 +2430,8 @@ review_app:
stage: deploy
script: make deploy-app
environment:
name: review
name: review/$CI_COMMIT_REF_NAME
url: https://$CI_ENVIRONMENT_SLUG.example.com
on_stop: stop_review_app
stop_review_app:
......@@ -2440,7 +2441,7 @@ stop_review_app:
script: make delete-app
when: manual
environment:
name: review
name: review/$CI_COMMIT_REF_NAME
action: stop
```
......
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