1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2024-12-22 21:38:44 +01:00
App-Open-Source-per-iPhone-.../.github/deploy.sh
2016-05-13 12:17:36 -07:00

23 lines
478 B
Bash
Executable File

#!/bin/bash
set -e
git config user.name "Travis CI"
git config user.email "dkhamsing@users.noreply.github.com"
status=`git status`
if [[ $status == *"README.md"* ]]
then
git add README.md
git commit -m "[auto] [ci skip] Generate README"
fi
if [[ $status == *"ARCHIVE.md"* ]]
then
git add ARCHIVE.md
git commit -m "[auto] [ci skip] Generate ARCHIVE"
fi
git push --quiet "https://${GH_TOKEN}@github.com/dkhamsing/open-source-ios-apps" master:master > /dev/null 2>&1