Small grammar fix
This commit is contained in:
parent
71597f9baa
commit
4a2a959180
|
@ -61,7 +61,7 @@ The same tag is shown on the pipeline's details:
|
||||||
The behavior of the `only: merge_requests` rule is such that _only_ jobs with
|
The behavior of the `only: merge_requests` rule is such that _only_ jobs with
|
||||||
that rule are run in the context of a merge request; no other jobs will be run.
|
that rule are run in the context of a merge request; no other jobs will be run.
|
||||||
|
|
||||||
However, you may what to reverse this behaviour, having all of your jobs to run _except_
|
However, you may want to reverse this behaviour, having all of your jobs to run _except_
|
||||||
for one or two. Consider the following pipeline, with jobs `A`, `B`, and `C`. If you want
|
for one or two. Consider the following pipeline, with jobs `A`, `B`, and `C`. If you want
|
||||||
all pipelines to always run `A` and `B`, but only want `C` to run for a merge request,
|
all pipelines to always run `A` and `B`, but only want `C` to run for a merge request,
|
||||||
you can configure your `.gitlab-ci.yml` file as follows:
|
you can configure your `.gitlab-ci.yml` file as follows:
|
||||||
|
@ -77,7 +77,7 @@ A:
|
||||||
<<: *only-default
|
<<: *only-default
|
||||||
script:
|
script:
|
||||||
- ...
|
- ...
|
||||||
|
|
||||||
B:
|
B:
|
||||||
<<: *only-default
|
<<: *only-default
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue