Commit 9d97f3a3 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'psureshbabu-master-patch-39357' into 'master'

docs | Fix CI file syntax for environment

See merge request gitlab-org/gitlab!58468
parents a065e272 c26abc03
...@@ -66,8 +66,8 @@ Alternatively, you can use the API to protect an environment: ...@@ -66,8 +66,8 @@ Alternatively, you can use the API to protect an environment:
when: manual when: manual
script: script:
- 'echo "Deploying to ${CI_ENVIRONMENT_NAME}"' - 'echo "Deploying to ${CI_ENVIRONMENT_NAME}"'
environment: environment:
name: ${CI_JOB_NAME} name: ${CI_JOB_NAME}
``` ```
1. Use the UI to [create a new group](../../user/group/index.md#create-a-group). 1. Use the UI to [create a new group](../../user/group/index.md#create-a-group).
......
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