Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
aa798ad1
Commit
aa798ad1
authored
Jan 20, 2022
by
MR●Pang
Committed by
Marcel Amirault
Jan 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix environment keyword input variables
Signed-off-by:
pmc
<
pangmengchen@gmail.com
>
parent
59a43d0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/ci/yaml/index.md
doc/ci/yaml/index.md
+3
-3
No files found.
doc/ci/yaml/index.md
View file @
aa798ad1
...
...
@@ -1467,7 +1467,7 @@ Use `environment` to define the [environment](../environments/index.md) that a j
formats:
-
Plain text, including letters, digits, spaces, and these characters:
`-`
,
`_`
,
`/`
,
`$`
,
`{`
,
`}`
.
-
CI/CD variables, including predefined,
secur
e, or variables defined in the
-
CI/CD variables, including predefined,
project, group, instanc
e, or variables defined in the
`.gitlab-ci.yml`
file. You can't use variables defined in a
`script`
section.
**Example of `environment`**
:
...
...
@@ -1496,7 +1496,7 @@ Common environment names are `qa`, `staging`, and `production`, but you can use
formats:
-
Plain text, including letters, digits, spaces, and these characters:
`-`
,
`_`
,
`/`
,
`$`
,
`{`
,
`}`
.
-
CI/CD variables, including predefined,
secur
e, or variables defined in the
-
CI/CD variables, including predefined,
project, group, instanc
e, or variables defined in the
`.gitlab-ci.yml`
file. You can't use variables defined in a
`script`
section.
**Example of `environment:name`**
:
...
...
@@ -1518,7 +1518,7 @@ Set a URL for an [environment](../environments/index.md).
**Possible inputs**
: A single URL, in one of these formats:
-
Plain text, like
`https://prod.example.com`
.
-
CI/CD variables, including predefined,
secur
e, or variables defined in the
-
CI/CD variables, including predefined,
project, group, instanc
e, or variables defined in the
`.gitlab-ci.yml`
file. You can't use variables defined in a
`script`
section.
**Example of `environment:url`**
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment