Commit aa798ad1 authored by MR●Pang's avatar MR●Pang Committed by Marcel Amirault

Fix environment keyword input variables

Signed-off-by: default avatarpmc <pangmengchen@gmail.com>
parent 59a43d0b
...@@ -1467,7 +1467,7 @@ Use `environment` to define the [environment](../environments/index.md) that a j ...@@ -1467,7 +1467,7 @@ Use `environment` to define the [environment](../environments/index.md) that a j
formats: formats:
- Plain text, including letters, digits, spaces, and these characters: `-`, `_`, `/`, `$`, `{`, `}`. - Plain text, including letters, digits, spaces, and these characters: `-`, `_`, `/`, `$`, `{`, `}`.
- CI/CD variables, including predefined, secure, or variables defined in the - CI/CD variables, including predefined, project, group, instance, or variables defined in the
`.gitlab-ci.yml` file. You can't use variables defined in a `script` section. `.gitlab-ci.yml` file. You can't use variables defined in a `script` section.
**Example of `environment`**: **Example of `environment`**:
...@@ -1496,7 +1496,7 @@ Common environment names are `qa`, `staging`, and `production`, but you can use ...@@ -1496,7 +1496,7 @@ Common environment names are `qa`, `staging`, and `production`, but you can use
formats: formats:
- Plain text, including letters, digits, spaces, and these characters: `-`, `_`, `/`, `$`, `{`, `}`. - Plain text, including letters, digits, spaces, and these characters: `-`, `_`, `/`, `$`, `{`, `}`.
- CI/CD variables, including predefined, secure, or variables defined in the - CI/CD variables, including predefined, project, group, instance, or variables defined in the
`.gitlab-ci.yml` file. You can't use variables defined in a `script` section. `.gitlab-ci.yml` file. You can't use variables defined in a `script` section.
**Example of `environment:name`**: **Example of `environment:name`**:
...@@ -1518,7 +1518,7 @@ Set a URL for an [environment](../environments/index.md). ...@@ -1518,7 +1518,7 @@ Set a URL for an [environment](../environments/index.md).
**Possible inputs**: A single URL, in one of these formats: **Possible inputs**: A single URL, in one of these formats:
- Plain text, like `https://prod.example.com`. - Plain text, like `https://prod.example.com`.
- CI/CD variables, including predefined, secure, or variables defined in the - CI/CD variables, including predefined, project, group, instance, or variables defined in the
`.gitlab-ci.yml` file. You can't use variables defined in a `script` section. `.gitlab-ci.yml` file. You can't use variables defined in a `script` section.
**Example of `environment:url`**: **Example of `environment:url`**:
......
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