From 311c38d312985cddf23d23a9686fb6910e0ad3f6 Mon Sep 17 00:00:00 2001 From: dkhamsing Date: Sat, 1 Sep 2018 16:52:58 -0700 Subject: [PATCH] [ci] fixes 3 --- .github/deploy.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/deploy.sh b/.github/deploy.sh index 001fca85..b838449d 100755 --- a/.github/deploy.sh +++ b/.github/deploy.sh @@ -1,35 +1,28 @@ #!/bin/bash -echo 'set -e' set -e -echo 'git config' git config user.name "READMEbot" git config user.email "readmebot@users.noreply.github.com" status=`git status` -echo $status if [[ $status == *"README.md"* ]] then - echo 'git add readme' git add README.md git commit -m "[auto] [ci skip] Generate README" fi if [[ $status == *"ARCHIVE.md"* ]] then - echo 'git add archive' git add ARCHIVE.md git commit -m "[auto] [ci skip] Generate ARCHIVE" fi if [[ $status == *"APPSTORE.md"* ]] then - echo 'git add appstore' git add APPSTORE.md git commit -m "[auto] [ci skip] Generate APPSTORE" fi -echo 'git push' -git push "https://test:test@github.com/dkhamsing/open-source-ios-apps" master:master > /dev/null 2>&1 +git push --quiet "https://${GH_TOKEN}@github.com/dkhamsing/open-source-ios-apps" master:master > /dev/null 2>&1