summaryrefslogtreecommitdiff
path: root/doc/ci/yaml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-17 09:02:42 -0400
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-17 09:02:42 -0400
commita0afeefd76ebfacae59343f48e127828b27ba77a (patch)
treecc2c84134efb312301e02c135caf26368056691b /doc/ci/yaml
parentcc57d61023c6dd5ef274bac5d4e6cde1cae97d2c (diff)
downloadgitlab-ce-a0afeefd76ebfacae59343f48e127828b27ba77a.tar.gz
Add CHANGELOG and documentation
Diffstat (limited to 'doc/ci/yaml')
-rw-r--r--doc/ci/yaml/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index abb6e97e5e6..54b06f10b95 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -15,6 +15,7 @@ If you want a quick introduction to GitLab CI, follow our
- [.gitlab-ci.yml](#gitlab-ci-yml)
- [image and services](#image-and-services)
- [before_script](#before_script)
+ - [after_script](#after_script)
- [stages](#stages)
- [types](#types)
- [variables](#variables)
@@ -80,6 +81,9 @@ services:
before_script:
- bundle install
+after_script:
+ - rm secrets
+
stages:
- build
- test
@@ -104,6 +108,7 @@ There are a few reserved `keywords` that **cannot** be used as job names:
| stages | no | Define build stages |
| types | no | Alias for `stages` |
| before_script | no | Define commands that run before each job's script |
+| after_script | no | Define commands that run after each job's script |
| variables | no | Define build variables |
| cache | no | Define list of files that should be cached between subsequent runs |
@@ -118,6 +123,11 @@ used for time of the build. The configuration of this feature is covered in
`before_script` is used to define the command that should be run before all
builds, including deploy builds. This can be an array or a multi-line string.
+### after_script
+
+`after_script` is used to define the command that will be run after for all
+builds. This has to be an array or a multi-line string.
+
### stages
`stages` is used to define build stages that can be used by jobs.