You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by eo...@apache.org on 2022/03/14 11:10:40 UTC

[bookkeeper] branch master updated: [website] update website every time there is a change (#3090)

This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 10825c9  [website] update website every time there is a change (#3090)
10825c9 is described below

commit 10825c93bccd9e170df75ab9f2cf85cb6043f649
Author: Nicolò Boschi <bo...@gmail.com>
AuthorDate: Mon Mar 14 12:10:35 2022 +0100

    [website] update website every time there is a change (#3090)
---
 .github/workflows/website-deploy.yaml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/website-deploy.yaml b/.github/workflows/website-deploy.yaml
index d9cd91c..2ae8e10 100644
--- a/.github/workflows/website-deploy.yaml
+++ b/.github/workflows/website-deploy.yaml
@@ -19,9 +19,13 @@
 
 name: Website deploy
 on:
-  schedule:
-    - cron: '0 */24 * * *'
-
+  workflow_dispatch:
+  push:
+    branches:
+      - master
+    paths:
+      - 'site/**'
+      - '.github/workflows/website-deploy.yaml'
 jobs:
   build-website:
     name: Build and publish website
@@ -41,7 +45,7 @@ jobs:
       - name: Set up Ruby
         uses: ruby/setup-ruby@v1
         with:
-          ruby-version: 2.6 # Not needed with a .ruby-version file
+          ruby-version: 3.0.3 # Not needed with a .ruby-version file
           bundler-cache: true # runs 'bundle install' and caches installed gems automatically
 
       - name: publish