Commit 8ed97054 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'manual-action-grammar' into 'master'

Improve grammar of manual actions documentation

## What does this MR do?

Improve grammar of manual actions documentation

## Are there points in the code the reviewer needs to double check?

## Why was this MR needed?

Because people like good grammar.

## What are the relevant issue numbers?

## Screenshots (if relevant)


See merge request !5382
parents ed19b9cc d0341bc3
...@@ -485,7 +485,8 @@ failure. ...@@ -485,7 +485,8 @@ failure.
1. `on_failure` - execute build only when at least one build from prior stages 1. `on_failure` - execute build only when at least one build from prior stages
fails. fails.
1. `always` - execute build regardless of the status of builds from prior stages. 1. `always` - execute build regardless of the status of builds from prior stages.
1. `manual` - execute build manually. 1. `manual` - execute build manually (added in GitLab 8.10). Read about
[manual actions](#manual-actions) below.
For example: For example:
...@@ -528,21 +529,22 @@ cleanup_job: ...@@ -528,21 +529,22 @@ cleanup_job:
The above script will: The above script will:
1. Execute `cleanup_build_job` only when `build_job` fails 1. Execute `cleanup_build_job` only when `build_job` fails.
2. Always execute `cleanup_job` as the last step in pipeline 2. Always execute `cleanup_job` as the last step in pipeline regardless of
3. Allow you to manually execute `deploy_job` from GitLab success or failure.
3. Allow you to manually execute `deploy_job` from GitLab's UI.
#### Manual actions #### Manual actions
>**Note:** >**Note:**
Introduced in GitLab 8.10. Introduced in GitLab 8.10.
Manual actions are special type of jobs that are not executed automatically in pipeline. Manual actions are a special type of job that are not executed automatically;
They need to be explicitly started by the user. they need to be explicitly started by a user. Manual actions can be started
Manual actions can be started from pipelines, builds, environments and deployments views. from pipeline, build, environment, and deployment views. You can execute the
You can execute the same manual action multiple times. same manual action multiple times.
Example usage of manual actions is deployment, ex. promote a staging environment to production. An example usage of manual actions is deployment to production.
### environment ### environment
......
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