Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Joshfischer/site build mods (#3422)
Browse files Browse the repository at this point in the history
* moving .asf.yaml on each site build

* correct folder path

* add repo metadata configs to asf.yaml
  • Loading branch information
joshfischer1108 authored and nwangtw committed Dec 14, 2019
1 parent a565a6b commit 73f2487
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions website2/website/scripts/publish_site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 73f2487

Please sign in to comment.