1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-14 03:25:32 +03:00
Mindustry/update_wiki.sh
2019-08-13 23:53:22 -04:00

10 lines
431 B
Bash
Executable File

git config --global user.name "Wiki Updater"
git clone --depth=1 --branch=master https://github.com/MindustryGame/wiki ../wiki
git clone --depth=1 --branch=master https://github.com/Anuken/Mindustry-Wiki-Generator ../Mindustry-Wiki-Generator
cd ../Mindustry-Wiki-Generator
./gradlew run
cd ../wiki
git add .
git commit -m "Update to match build ${TRAVIS_TAG}"
git push https://Anuken:${GH_PUSH_TOKEN}@github.com/MindustryGame/wiki