1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2025-01-27 16:59:32 +01:00

23 lines
478 B
Bash
Raw Normal View History

2016-05-11 07:22:10 -07:00
#!/bin/bash
set -e
2016-05-25 13:40:30 -07:00
git config user.name "READMEbot"
git config user.email "readmebot@users.noreply.github.com"
2016-05-11 07:22:10 -07:00
2016-05-13 12:17:36 -07:00
status=`git status`
2016-05-13 12:05:16 -07:00
if [[ $status == *"README.md"* ]]
then
git add README.md
git commit -m "[auto] [ci skip] Generate README"
fi
2016-05-13 11:27:14 -07:00
2016-05-13 12:05:16 -07:00
if [[ $status == *"ARCHIVE.md"* ]]
then
git add ARCHIVE.md
git commit -m "[auto] [ci skip] Generate ARCHIVE"
fi
2016-05-13 11:27:14 -07:00
git push --quiet "https://${GH_TOKEN}@github.com/dkhamsing/open-source-ios-apps" master:master > /dev/null 2>&1