From 44ae414bceb8caa8534c019e6f64408907d130e3 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 30 Sep 2021 15:39:20 +0200 Subject: [PATCH] Add Migrations to docs header (#386) * Docs: add Migrations to header * fix diff --- docs/docs/20-usage/30-matrix-builds.md | 8 ++++---- docs/docusaurus.config.js | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/docs/20-usage/30-matrix-builds.md b/docs/docs/20-usage/30-matrix-builds.md index fa2c58c3a..b371035ab 100644 --- a/docs/docs/20-usage/30-matrix-builds.md +++ b/docs/docs/20-usage/30-matrix-builds.md @@ -60,8 +60,8 @@ Example Yaml file after injecting the matrix parameters: ```diff pipeline: build: -- image: golang:${GO_VERSION} -+ image: golang:1.4 +- image: golang:1.4 ++ image: golang:${GO_VERSION} commands: - go get - go build @@ -72,8 +72,8 @@ pipeline: services: database: -- image: ${DATABASE} -+ image: mysql:5.5 +- image: mysql:5.5 ++ image: ${DATABASE} ``` ## Examples diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index dea5268bb..dcd74f9f3 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -34,6 +34,12 @@ module.exports = { position: 'left', label: 'FAQ', }, + { + type: 'doc', + docId: 'migrations', + position: 'left', + label: 'Migrations', + }, // {to: '/blog', label: 'Blog', position: 'left'}, { href: 'https://github.com/woodpecker-ci/woodpecker',