diff --git a/util/mirror-wiki.sh b/util/mirror-wiki.sh new file mode 100755 index 0000000..684d545 --- /dev/null +++ b/util/mirror-wiki.sh @@ -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