You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2023/07/01 09:15:11 UTC
[incubator-pekko-site] branch main updated: Place .htaccess inside of public to avoid manual cp
This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-site.git
The following commit(s) were added to refs/heads/main by this push:
new 4c7a8a93 Place .htaccess inside of public to avoid manual cp
4c7a8a93 is described below
commit 4c7a8a9353d8c87f1707d64118afe70e0d1bd2ab
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Sat Jul 1 11:00:39 2023 +0200
Place .htaccess inside of public to avoid manual cp
---
build.sbt | 5 +++++
src/main/{paradox => public}/.htaccess | 0
2 files changed, 5 insertions(+)
diff --git a/build.sbt b/build.sbt
index c452fb8f..4c166b64 100644
--- a/build.sbt
+++ b/build.sbt
@@ -3,3 +3,8 @@ enablePlugins(ParadoxPlugin, PekkoParadoxPlugin)
resolvers += "Apache Nexus Snapshots".at("https://repository.apache.org/content/repositories/snapshots/")
pekkoParadoxGithub := Some("https://github.com/apache/incubator-pekko-site")
+
+// By default any hidden files placed inside src/main/public are ignored
+inConfig(Assets)(Seq(
+ excludeFilter := excludeFilter.value -- ".htaccess"
+))
diff --git a/src/main/paradox/.htaccess b/src/main/public/.htaccess
similarity index 100%
rename from src/main/paradox/.htaccess
rename to src/main/public/.htaccess
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org