From 73f2487e51e94e5907ed245ff093ca6fa0dcfc68 Mon Sep 17 00:00:00 2001 From: Josh Fischer Date: Sat, 14 Dec 2019 03:16:49 -0600 Subject: [PATCH] Joshfischer/site build mods (#3422) * moving .asf.yaml on each site build * correct folder path * add repo metadata configs to asf.yaml --- .asf.yaml | 6 ++++++ website2/website/scripts/publish_site.sh | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index fef1a18377e..649d87a4014 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -22,3 +22,9 @@ staging: publish: whoami: asf-site hostname: http://heronstreaming.io + +github: + description: "Apache Heron (Incubating) is a realtime, distributed, fault-tolerant stream processing engine from Twitter" + homepage: https://heron.incubator.apache.org/ + labels: + - heron diff --git a/website2/website/scripts/publish_site.sh b/website2/website/scripts/publish_site.sh index b3bb8eaed73..db13b894b3c 100755 --- a/website2/website/scripts/publish_site.sh +++ b/website2/website/scripts/publish_site.sh @@ -46,6 +46,9 @@ HERON_SITE_TMP=/tmp/heron-site # copy the generated dir cp -r $WORK_DIR/* $HERON_SITE_TMP/content + # copy the asf.yaml + cp $ROOT_DIR/.asf.yaml $HERON_SITE_TMP/ + # 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)