This is an automated email from the ASF dual-hosted git repository. mssun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git
commit 39ccd16f65a114201b2eb3512220088bbf21f45c Author: Mingshen Sun <[email protected]> AuthorDate: Thu May 14 17:22:47 2020 -0700 Add Makefile to help build and deploy --- .asf.yaml | 6 ++++++ Makefile | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml new file mode 100644 index 0000000..d046a82 --- /dev/null +++ b/.asf.yaml @@ -0,0 +1,6 @@ +staging: + profile: ~ + whoami: asf-staging + +publish: + whoami: asf-site diff --git a/Makefile b/Makefile index 13a01d6..2eca33c 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,12 @@ -all: +build: git clone https://github.com/apache/incubator-teaclave.git teaclave || cd teaclave && git pull vuepress build -d dist + cp .asf.yaml dist + +staging: build + ghp-import dist -b asf-staging + +site: build + ghp-import dist -b asf-site + +all: staging site --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
