You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by wa...@apache.org on 2020/10/29 17:12:58 UTC

[openoffice-org] branch main updated: Adjusts scripts and jbake.properties to avoid cache and copy .htaccess manually

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

wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-org.git


The following commit(s) were added to refs/heads/main by this push:
     new 89bb644  Adjusts scripts and jbake.properties to avoid cache and copy .htaccess manually
89bb644 is described below

commit 89bb64481066f6338c7b254265d0ff9484b13a71
Author: Dave Fisher <da...@davefisher.tech>
AuthorDate: Thu Oct 29 10:12:48 2020 -0700

    Adjusts scripts and jbake.properties to avoid cache and copy .htaccess manually
---
 build_local.sh   | 1 +
 build_site.sh    | 1 +
 build_staging.sh | 1 +
 jbake.properties | 4 ++--
 4 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/build_local.sh b/build_local.sh
index f95016a..06e80a2 100755
--- a/build_local.sh
+++ b/build_local.sh
@@ -5,6 +5,7 @@ WORKDIR=/tmp/ooo-site
 
 rm -rf $WORKDIR
 mkdir -p $WORKDIR
+cp assets/.htaccess $WORKDIR
 
 # just bake and serve the site
 ./bake.sh -b -s . $WORKDIR
diff --git a/build_site.sh b/build_site.sh
index 81e0003..c296a71 100755
--- a/build_site.sh
+++ b/build_site.sh
@@ -6,6 +6,7 @@ ME=`basename $0`
 
 rm -rf $WORKDIR
 mkdir -p $WORKDIR
+cp assets/.htaccess $WORKDIR
 
 # now bake the site
 ./bake.sh -b . $WORKDIR
diff --git a/build_staging.sh b/build_staging.sh
index 517c507..8f3df7c 100755
--- a/build_staging.sh
+++ b/build_staging.sh
@@ -9,6 +9,7 @@ mkdir -p $WORKDIR
 
 # now bake the site
 ./bake.sh -b . $WORKDIR
+cp assets/.htaccess $WORKDIR
 
 # push all of the results to asf-site
 git checkout asf-staging
diff --git a/jbake.properties b/jbake.properties
index 1ed3c6d..c00f59b 100644
--- a/jbake.properties
+++ b/jbake.properties
@@ -16,7 +16,7 @@ render.archive=false
 index.file=index.html
 content.folder=content
 destination.folder=output
-asset.ignore=true
+asset.ignore=false
 default.type=page
 default.status=published
-db.store=plocal
\ No newline at end of file
+#db.store=plocal
\ No newline at end of file