You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@griffin.apache.org by gu...@apache.org on 2018/09/12 10:56:22 UTC

incubator-griffin-site git commit: fix gitignore

Repository: incubator-griffin-site
Updated Branches:
  refs/heads/master b8bb0468f -> 570bb6140


fix gitignore


Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/commit/570bb614
Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/tree/570bb614
Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/diff/570bb614

Branch: refs/heads/master
Commit: 570bb61405d696ee57e3de7c38a02cd0be0f7560
Parents: b8bb046
Author: William Guo <gu...@apache.org>
Authored: Wed Sep 12 18:56:11 2018 +0800
Committer: William Guo <gu...@apache.org>
Committed: Wed Sep 12 18:56:11 2018 +0800

----------------------------------------------------------------------
 .gitignore |  4 +---
 deploy.sh  | 20 ++++++++++----------
 2 files changed, 11 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/blob/570bb614/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 88f1711..df930a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,6 @@
-public
-node_modules/*
-.deploy_git/*
 .idea/
 .sass-cache/
 _site/
 
 
+

http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/blob/570bb614/deploy.sh
----------------------------------------------------------------------
diff --git a/deploy.sh b/deploy.sh
index af784c1..6e10713 100644
--- a/deploy.sh
+++ b/deploy.sh
@@ -57,14 +57,14 @@ else
   echo "Push $SITE failed"
 fi
 
-## Switch back to SOURCE branch
-#git checkout $SOURCE > /dev/null 2>&1
-#
-## Push the SOURCE to the server
-#git push -u origin $SOURCE > /dev/null 2>&1
-#if [ $? = 0 ]; then
-#  echo "Push $SOURCE successful"
-#else
-#  echo "Push $SOURCE failed"
-#fi
+# Switch back to SOURCE branch
+git checkout $SOURCE > /dev/null 2>&1
+
+# Push the SOURCE to the server
+git push -u origin $SOURCE > /dev/null 2>&1
+if [ $? = 0 ]; then
+ echo "Push $SOURCE successful"
+else
+ echo "Push $SOURCE failed"
+fi