mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-04-26 13:34:45 +00:00
Add Migrations to docs header (#386)
* Docs: add Migrations to header * fix diff
This commit is contained in:
parent
ed6d3f3cea
commit
44ae414bce
2 changed files with 10 additions and 4 deletions
|
@ -60,8 +60,8 @@ Example Yaml file after injecting the matrix parameters:
|
||||||
```diff
|
```diff
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
- image: golang:${GO_VERSION}
|
- image: golang:1.4
|
||||||
+ image: golang:1.4
|
+ image: golang:${GO_VERSION}
|
||||||
commands:
|
commands:
|
||||||
- go get
|
- go get
|
||||||
- go build
|
- go build
|
||||||
|
@ -72,8 +72,8 @@ pipeline:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
- image: ${DATABASE}
|
- image: mysql:5.5
|
||||||
+ image: mysql:5.5
|
+ image: ${DATABASE}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
|
@ -34,6 +34,12 @@ module.exports = {
|
||||||
position: 'left',
|
position: 'left',
|
||||||
label: 'FAQ',
|
label: 'FAQ',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: 'doc',
|
||||||
|
docId: 'migrations',
|
||||||
|
position: 'left',
|
||||||
|
label: 'Migrations',
|
||||||
|
},
|
||||||
// {to: '/blog', label: 'Blog', position: 'left'},
|
// {to: '/blog', label: 'Blog', position: 'left'},
|
||||||
{
|
{
|
||||||
href: 'https://github.com/woodpecker-ci/woodpecker',
|
href: 'https://github.com/woodpecker-ci/woodpecker',
|
||||||
|
|
Loading…
Reference in a new issue