You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ro...@apache.org on 2020/07/22 15:48:04 UTC
[activemq-website] 01/02: shift base for build to the root dir,
fix config to accomodate automated build
This is an automated email from the ASF dual-hosted git repository.
robbie pushed a commit to branch jekyll-test-staged
in repository https://gitbox.apache.org/repos/asf/activemq-website.git
commit b6cfc7337b7b95bee0f0de6117f4059f7d4eca38
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Wed Jul 22 14:47:09 2020 +0100
shift base for build to the root dir, fix config to accomodate automated build
---
.asf.yaml | 10 ++++++++--
src/_config.yml => _config.yml | 2 +-
build.sh | 2 +-
serve.sh | 2 +-
4 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 9a2e4f0..c4b23a8 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,2 +1,8 @@
-publish:
- whoami: master
+jekyll:
+ whoami: jekyll-test-master
+ target: jekyll-test-staged
+ outputdir: content
+
+staging:
+ whoami: jekyll-test-staged
+ profile: ~
diff --git a/src/_config.yml b/_config.yml
similarity index 94%
rename from src/_config.yml
rename to _config.yml
index 0fa82d7..38c6bf5 100644
--- a/src/_config.yml
+++ b/_config.yml
@@ -22,7 +22,7 @@ markdown: kramdown
highlighter: rouge
#permalink: /news/:year/:month/:day/:title/
excerpt_separator: ""
-destination: site-content
+source: src
exclude: [BUILD.md, Gemfile*]
keep_files: [.git]
exclude: [vendor]
diff --git a/build.sh b/build.sh
index 0c395ce..288e54f 100755
--- a/build.sh
+++ b/build.sh
@@ -1,4 +1,4 @@
set -e
-jekyll build --incremental -s ./src/ -d ./content
+jekyll build --incremental -d ./content
set +e
diff --git a/serve.sh b/serve.sh
index 928abcf..202d9ae 100755
--- a/serve.sh
+++ b/serve.sh
@@ -1,4 +1,4 @@
set -e
-jekyll serve --incremental -s ./src -d content/
+jekyll serve --incremental -d content/
set +e