trying new CI approach

This commit is contained in:
Ionitron
2016-05-04 17:03:53 -05:00
parent 9d359a50e2
commit da1cf7c3a1
4 changed files with 19 additions and 14 deletions
+4 -1
View File
@@ -14,7 +14,10 @@ function init {
}
function run {
# no need to run on PRs
if [ -z $CI_PULL_REQUEST ] then
exit 0
fi
if [ ! -d "$SITE_DIR" ]; then
echo "checking out"
cd ./scripts
-2
View File
@@ -30,8 +30,6 @@ function run {
echo "-- No changes detected for the following commit, docs not updated."
echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1"
else
git config --global user.email "hi@ionicframework.com"
git config --global user.name "Ionitron"
git add -A
git commit -am "Automated build of native docs driftyco/$CIRCLE_PROJECT_REPONAME@$CIRCLE_SHA1"
git push origin master