mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add wiki mirror utility script
This commit is contained in:
parent
1012a5f1b9
commit
0322d5bd28
1 changed files with 11 additions and 0 deletions
11
util/mirror-wiki.sh
Executable file
11
util/mirror-wiki.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# Mirrors the contents of the GitLab wiki to GitHub.
|
||||||
|
git clone git@gitlab.com:arctic-fox/spectator.wiki.git
|
||||||
|
pushd spectator.wiki
|
||||||
|
git remote add github git@github.com:icy-arctic-fox/spectator.wiki.git
|
||||||
|
git fetch github
|
||||||
|
git push github master
|
||||||
|
popd
|
||||||
|
rm -rf spectator.wiki
|
Loading…
Reference in a new issue