Add wiki mirror utility script
This commit is contained in:
parent
1012a5f1b9
commit
0322d5bd28
|
@ -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 New Issue