zigbee2mqtt/.travis/update-wiki.sh
2018-04-26 19:40:44 +02:00

18 lines
340 B
Bash
Executable File

#!/bin/sh
setup_git() {
git config --global user.email "travis@travis-ci.org"
git config --global user.name "Travis CI"
}
update_wiki() {
rm -rf zigbee2mqtt.wiki
git clone https://${GH_TOKEN}@github.com/Koenkk/zigbee2mqtt.wiki.git
npm run docgen zigbee2mqtt.wiki
cd zigbee2mqtt.wiki
git push origin
}
setup_git
update_wiki