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
This commit is contained in:
commit
8ed9705483
|
@ -485,7 +485,8 @@ failure.
|
|||
1. `on_failure` - execute build only when at least one build from prior stages
|
||||
fails.
|
||||
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:
|
||||
|
||||
|
@ -528,21 +529,22 @@ cleanup_job:
|
|||
|
||||
The above script will:
|
||||
|
||||
1. Execute `cleanup_build_job` only when `build_job` fails
|
||||
2. Always execute `cleanup_job` as the last step in pipeline
|
||||
3. Allow you to manually execute `deploy_job` from GitLab
|
||||
1. Execute `cleanup_build_job` only when `build_job` fails.
|
||||
2. Always execute `cleanup_job` as the last step in pipeline regardless of
|
||||
success or failure.
|
||||
3. Allow you to manually execute `deploy_job` from GitLab's UI.
|
||||
|
||||
#### Manual actions
|
||||
|
||||
>**Note:**
|
||||
Introduced in GitLab 8.10.
|
||||
|
||||
Manual actions are special type of jobs that are not executed automatically in pipeline.
|
||||
They need to be explicitly started by the user.
|
||||
Manual actions can be started from pipelines, builds, environments and deployments views.
|
||||
You can execute the same manual action multiple times.
|
||||
Manual actions are a special type of job that are not executed automatically;
|
||||
they need to be explicitly started by a user. Manual actions can be started
|
||||
from pipeline, build, environment, and deployment views. You can execute the
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue