mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-20 00:06:24 +08:00
trying new CI approach
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user