You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by jo...@apache.org on 2019/12/08 04:43:53 UTC

[incubator-heron] branch joshfischer/site-tweaks updated: clean up. remove htaccess file

This is an automated email from the ASF dual-hosted git repository.

joshfischer pushed a commit to branch joshfischer/site-tweaks
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/joshfischer/site-tweaks by this push:
     new c4dedd5  clean up. remove htaccess file
c4dedd5 is described below

commit c4dedd55369d4fb1e35523e702f12976d7f99d45
Author: Josh Fischer <jo...@joshfischer.io>
AuthorDate: Sat Dec 7 22:43:29 2019 -0600

    clean up. remove htaccess file
---
 .htaccess                                | 1 -
 website2/website/scripts/publish_site.sh | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.htaccess b/.htaccess
deleted file mode 100644
index bdcbac5..0000000
--- a/.htaccess
+++ /dev/null
@@ -1 +0,0 @@
-Redirect	/index.html	https://heron.incubator.apache.org
diff --git a/website2/website/scripts/publish_site.sh b/website2/website/scripts/publish_site.sh
index 286d78a..b3bb8ea 100755
--- a/website2/website/scripts/publish_site.sh
+++ b/website2/website/scripts/publish_site.sh
@@ -43,9 +43,9 @@ HERON_SITE_TMP=/tmp/heron-site
   rm -rf $HERON_SITE_TMP/content/
   mkdir $HERON_SITE_TMP/content
 
- # copy the generated dir
+  # copy the generated dir
   cp -r $WORK_DIR/* $HERON_SITE_TMP/content
-  #cp -a $ROOT_DIR/.htaccess $HERON_SITE_TMP/content
+
   # push all of the results to asf-site branch
   git add -A .
   git diff-index --quiet HEAD || (git commit -m "git-site-role commit from $ME" && git push -q origin HEAD:asf-site)