Files
Mindustry/update_wiki.sh

10 lines
431 B
Bash
Raw Normal View History

2019-06-23 10:29:22 -04:00
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
2019-06-23 10:33:25 -04:00
./gradlew run
2019-06-23 10:29:22 -04:00
cd ../wiki
git add .
2019-08-13 23:53:22 -04:00
git commit -m "Update to match build ${TRAVIS_TAG}"
2019-06-23 10:29:22 -04:00
git push https://Anuken:${GH_PUSH_TOKEN}@github.com/MindustryGame/wiki