mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-25 17:05:06 +00:00
fix docs: dont interupt section with unrelated new section (#1029)
This commit is contained in:
@@ -617,6 +617,12 @@ pipeline:
|
|||||||
- go test
|
- go test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## `variables`
|
||||||
|
|
||||||
|
Woodpecker supports [YAML anchors & aliases](https://yaml.org/spec/1.2.2/#3222-anchors-and-aliases) in the pipeline configuration. These can be used as variables to not repeat yourself.
|
||||||
|
|
||||||
|
For more details and examples check the [Advanced YAML syntax docs](/docs/usage/advanced-yaml-syntax)
|
||||||
|
|
||||||
## `clone`
|
## `clone`
|
||||||
|
|
||||||
Woodpecker automatically configures a default clone step if not explicitly defined. When using the `local` backend, the [plugin-git](https://github.com/woodpecker-ci/plugin-git) binary must be on your `$PATH` for the default clone step to work. If not, you can still write a manual clone step.
|
Woodpecker automatically configures a default clone step if not explicitly defined. When using the `local` backend, the [plugin-git](https://github.com/woodpecker-ci/plugin-git) binary must be on your `$PATH` for the default clone step to work. If not, you can still write a manual clone step.
|
||||||
@@ -664,12 +670,6 @@ Example configuration to clone Mercurial repository:
|
|||||||
+ path: bitbucket.org/foo/bar
|
+ path: bitbucket.org/foo/bar
|
||||||
```
|
```
|
||||||
|
|
||||||
## `variables`
|
|
||||||
|
|
||||||
Woodpecker supports [YAML anchors & aliases](https://yaml.org/spec/1.2.2/#3222-anchors-and-aliases) in the pipeline configuration. These can be used as variables to not repeat yourself.
|
|
||||||
|
|
||||||
For more details and examples check the [Advanced YAML syntax docs](/docs/usage/advanced-yaml-syntax)
|
|
||||||
|
|
||||||
### Git Submodules
|
### Git Submodules
|
||||||
|
|
||||||
To use the credentials that cloned the repository to clone it's submodules, update `.gitmodules` to use `https` instead of `git`:
|
To use the credentials that cloned the repository to clone it's submodules, update `.gitmodules` to use `https` instead of `git`:
|
||||||
|
Reference in New Issue
Block a user