You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2020/01/17 01:06:37 UTC

[accumulo-website] branch master updated: Add .asf.yaml to auto-build and stage site

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

ctubbsii pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 23b9616  Add .asf.yaml to auto-build and stage site
23b9616 is described below

commit 23b96162f5e2334d9f14b76ed05d67a644e00794
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Thu Jan 16 20:04:27 2020 -0500

    Add .asf.yaml to auto-build and stage site
---
 .asf.yaml                       | 24 ++++++++++++++++++++++++
 _config.yml                     |  4 ++++
 _devtools/git-hooks/post-commit |  1 +
 3 files changed, 29 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..74795e5
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,24 @@
+
+staging:
+  profile: ~
+  whoami:  asf-staging
+
+publish:
+  whoami:  asf-site
+
+github:
+  description: "Apache Accumulo website"
+  homepage: https://accumulo.apache.org/
+  labels:
+    - accumulo
+    - big-data
+    - asf-site
+  features:
+    wiki: false
+    issues: true
+    projects: true
+
+jekyll:
+  whoami: master
+  target: asf-staging
+
diff --git a/_config.yml b/_config.yml
index f674a52..65bfed8 100644
--- a/_config.yml
+++ b/_config.yml
@@ -29,6 +29,10 @@ collections:
     output: true
     permalink: "/docs/2.x/:path"
 
+include:
+  - .asf.yaml
+  - .htaccess
+
 defaults:
   -
     scope:
diff --git a/_devtools/git-hooks/post-commit b/_devtools/git-hooks/post-commit
index c5981e8..0fb93c5 100755
--- a/_devtools/git-hooks/post-commit
+++ b/_devtools/git-hooks/post-commit
@@ -54,3 +54,4 @@ build_jekyll_site() {
 }
 
 build_jekyll_site 'master' 'asf-site'
+rm -rf .jekyll-cache/