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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
fb2b1ae1
Commit
fb2b1ae1
authored
Jun 16, 2016
by
Mark Pundsack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak grammar
parent
84632f0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+11
-6
No files found.
doc/ci/yaml/README.md
View file @
fb2b1ae1
...
...
@@ -530,14 +530,18 @@ The above script will:
### environment
>**Note:**
Introduced in GitLab
v8.9.0
.
Introduced in GitLab
8.9
.
`environment`
is used to define that job does deployment to specific environment.
This allows to easily track all deployments to your environments straight from GitLab.
`environment`
is used to define that a job deploys to a specific environment.
This allows easy tracking of all deployments to your environments straight from
GitLab.
If
`environment`
is specified and no environment under that name does exist a new one will be created automatically.
If
`environment`
is specified and no environment under that name exists, a new
one will be created automatically.
The
`environment`
name must contain only letters, digits, '-' and '_'.
The
`environment`
name must contain only letters, digits, '-' and '_'. Common
names are
`qa`
,
`staging`
, and
`production`
, but you can use whatever name works
with your workflow.
---
...
...
@@ -550,7 +554,8 @@ deploy to production:
environment: production
```
The
`deploy to production`
job will be marked as doing deployment to
`production`
environment.
The
`deploy to production`
job will be marked as doing deployment to
`production`
environment.
### artifacts
...
...
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