Add Migrations to docs header (#386)

* Docs: add Migrations to header

* fix diff
This commit is contained in:
6543 2021-09-30 15:39:20 +02:00 committed by GitHub
parent ed6d3f3cea
commit 44ae414bce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View file

@ -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

View file

@ -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',