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 2021/02/02 19:32:55 UTC
[mahout] branch trunk updated: 2135- Fix broken 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 7bd77c8 2135- Fix broken website build
7bd77c8 is described below
commit 7bd77c8490a27372a6e57ce2f58a1bf3035aa9b5
Author: Trevor Grant <tr...@gmail.com>
AuthorDate: Tue Feb 2 13:32:48 2021 -0600
2135- Fix broken website build
---
.github/workflows/website.yml | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index dbf9382..66f0461 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -20,7 +20,8 @@ name: Website
# events but only for the trunk branch
on:
push:
- branches: [ trunk ]
+ branches:
+ - trunk
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
@@ -34,6 +35,8 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
# Runs a single command using the runners shell
- name: Build Website
run: |
@@ -43,13 +46,8 @@ jobs:
cp -r $WORKDIR/* .
git add .
git commit -m "Automatic Site Publish by Buildbot"
+ git push -u origin asf-site
env:
WORKDIR: /tmp/mahout-site
RUBY_PATH: ~/shared/.rvm
GEM_HOME: ${RUBY_PATH}/gems
- - name: Push New Site
- uses: ad-m/github-push-action@master
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- branch: asf-site
- force: true