From 505e46980a003b4f8cdc7782becb6a1c1ea0ed87 Mon Sep 17 00:00:00 2001 From: Artem Navoiev Date: Sat, 30 Nov 2019 20:58:28 +0200 Subject: [PATCH] [ci] push docs/*.md file to wiki --- .github/workflows/wiki.yml | 6 ++++-- docs/Home.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index fb89c103c..95c9ec59a 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -3,6 +3,8 @@ on: push: paths: - 'docs/*.md' + branches: + - master jobs: build: runs-on: ubuntu-latest @@ -13,8 +15,8 @@ jobs: env: TOKEN: ${{secrets.CI_TOKEN}} run: | - cd doc - git clone https://vika:${TOKEN}github.com/VictoriaMetrics/VictoriaMetrics.wiki.git wiki + cd docs + git clone https://vika:${TOKEN}@github.com/VictoriaMetrics/VictoriaMetrics.wiki.git wiki find ./ -name '*.md' -exec cp -prv '{}' 'wiki' ';' cd wiki git config --local user.email "info@victoriametrics.com" diff --git a/docs/Home.md b/docs/Home.md index e0628b510..ca34ec64d 100644 --- a/docs/Home.md +++ b/docs/Home.md @@ -4,8 +4,8 @@ * [`WITH` templates playground](https://play.victoriametrics.com/promql/expand-with-exprs) * [Grafana playground](http://play-grafana.victoriametrics.com:3000/d/4ome8yJmz/node-exporter-on-victoriametrics-demo) * [Extended PromQL](ExtendedPromQL) -* [FAQ](FAQ) * [Single-node version](Single-server-VictoriaMetrics) +* [FAQ](FAQ) * [Cluster version](Cluster-VictoriaMetrics) * [Articles](Articles)