open-source-mac-os-apps-mirror/.github/deploy.sh
Serhii Londar 367ae86550 Setup CI
2018-11-14 23:40:17 +02:00

22 lines
No EOL
396 B
Bash

#!/bin/bash
set -e
if [[ $TRAVIS_BRANCH != 'master' ]]
then
exit
fi
git checkout master
git config user.name "serhii-londar"
git config user.email "serhii.londar@gmail.com"
echo add readme
git add README.md
echo commit
git commit -m "Generate README"
echo push
git push --quiet "https://${GITHUB_TOKEN}@github.com/serhii-londar/open-source-mac-os-apps.git" master:master > /dev/null 2>&1