mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 07:19:17 +01:00
.github/workflows: disable updating VictoriaMetrics wiki with docs
The https://github.com/VictoriaMetrics/VictoriaMetrics/wiki has been broken and unmaintained after VictoriaMetrics documentation has been moved to https://docs.victoriametrics.com . Let's remove the broken GitHub action, which tries keeping in sync VictoriaMetrics wiki at https://github.com/VictoriaMetrics/VictoriaMetrics/wiki .
This commit is contained in:
parent
a41c34705e
commit
2ef3fabcb8
28
.github/workflows/wiki.yml
vendored
28
.github/workflows/wiki.yml
vendored
@ -1,28 +0,0 @@
|
|||||||
name: wiki
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- 'docs/*'
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
- name: publish
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
TOKEN: ${{secrets.CI_TOKEN}}
|
|
||||||
run: |
|
|
||||||
git clone https://vika:${TOKEN}@github.com/VictoriaMetrics/VictoriaMetrics.wiki.git wiki
|
|
||||||
cp -r docs/* wiki
|
|
||||||
cd wiki
|
|
||||||
git config --local user.email "info@victoriametrics.com"
|
|
||||||
git config --local user.name "Vika"
|
|
||||||
git add .
|
|
||||||
git commit -m "update wiki pages"
|
|
||||||
remote_repo="https://vika:${TOKEN}@github.com/VictoriaMetrics/VictoriaMetrics.wiki.git"
|
|
||||||
git push "${remote_repo}"
|
|
||||||
cd ..
|
|
||||||
rm -rf wiki
|
|
Loading…
Reference in New Issue
Block a user