mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2025-01-03 12:09:37 +01:00
[ci] fixes 3
This commit is contained in:
parent
314c10d592
commit
311c38d312
9
.github/deploy.sh
vendored
9
.github/deploy.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user