[ci] push docs/*.md file to wiki

This commit is contained in:
Artem Navoiev 2019-11-30 20:58:28 +02:00
parent ab88b77515
commit 505e46980a
2 changed files with 5 additions and 3 deletions

View file

@ -3,6 +3,8 @@ on:
push: push:
paths: paths:
- 'docs/*.md' - 'docs/*.md'
branches:
- master
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -13,8 +15,8 @@ jobs:
env: env:
TOKEN: ${{secrets.CI_TOKEN}} TOKEN: ${{secrets.CI_TOKEN}}
run: | run: |
cd doc cd docs
git clone https://vika:${TOKEN}github.com/VictoriaMetrics/VictoriaMetrics.wiki.git wiki git clone https://vika:${TOKEN}@github.com/VictoriaMetrics/VictoriaMetrics.wiki.git wiki
find ./ -name '*.md' -exec cp -prv '{}' 'wiki' ';' find ./ -name '*.md' -exec cp -prv '{}' 'wiki' ';'
cd wiki cd wiki
git config --local user.email "info@victoriametrics.com" git config --local user.email "info@victoriametrics.com"

View file

@ -4,8 +4,8 @@
* [`WITH` templates playground](https://play.victoriametrics.com/promql/expand-with-exprs) * [`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) * [Grafana playground](http://play-grafana.victoriametrics.com:3000/d/4ome8yJmz/node-exporter-on-victoriametrics-demo)
* [Extended PromQL](ExtendedPromQL) * [Extended PromQL](ExtendedPromQL)
* [FAQ](FAQ)
* [Single-node version](Single-server-VictoriaMetrics) * [Single-node version](Single-server-VictoriaMetrics)
* [FAQ](FAQ)
* [Cluster version](Cluster-VictoriaMetrics) * [Cluster version](Cluster-VictoriaMetrics)
* [Articles](Articles) * [Articles](Articles)