You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ra...@apache.org on 2020/08/07 14:19:04 UTC
[mahout] branch trunk updated: [JENKINS-MIGRATION] Hacking on
website build
This is an automated email from the ASF dual-hosted git repository.
rawkintrevo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/mahout.git
The following commit(s) were added to refs/heads/trunk by this push:
new adb889d [JENKINS-MIGRATION] Hacking on website build
adb889d is described below
commit adb889dcdd1d7aa35ec7660b5005f9312b8c4abc
Author: rawkintrevo <tr...@gmail.com>
AuthorDate: Fri Aug 7 09:18:48 2020 -0500
[JENKINS-MIGRATION] Hacking on website build
---
.github/workflows/website.yml | 14 ++++++++++++--
website/build_site.sh | 8 ++++----
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index 15310c1..ec52d1f 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -14,7 +14,7 @@
# limitations under the License.
-name: CI
+name: Website
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the trunk branch
@@ -38,4 +38,14 @@ jobs:
# Runs a single command using the runners shell
- name: Build Website
- run: ./website/build_site.sh
+ run: |
+ ./website/build_site.sh
+ cp -r $WORKDIR/* .
+ git add .
+ git commit -m "Automatic Site Publish by Buildbot"
+ git push origin asf-site
+ env:
+ WORKDIR: /tmp/mahout-site
+ RUBY_PATH: ~/shared/.rvm
+ GEM_HOME: ${RUBY_PATH}/gems
+
diff --git a/website/build_site.sh b/website/build_site.sh
index 0f0cda2..a3a9f42 100755
--- a/website/build_site.sh
+++ b/website/build_site.sh
@@ -58,8 +58,8 @@ if [ ! -d "/docs/$MAHOUT_VERSION/api" ]; then
fi
# rm -rf *
#cp -a $WORKDIR/* .
-cp -r $WORKDIR/* .
-git add .
-git commit -m "Automatic Site Publish by Buildbot"
-git push origin asf-site
+#cp -r $WORKDIR/* .
+#git add .
+#git commit -m "Automatic Site Publish by Buildbot"
+#git push origin asf-site