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/10 07:33:04 UTC

[bookkeeper] branch master updated: [website] Fix deploy action (#3089)

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 07d1c71  [website] Fix deploy action (#3089)
07d1c71 is described below

commit 07d1c715122a80ecfbca29d8270d37222c827caa
Author: Nicolò Boschi <bo...@gmail.com>
AuthorDate: Thu Mar 10 08:32:58 2022 +0100

    [website] Fix deploy action (#3089)
---
 .github/workflows/website-deploy.yaml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/.github/workflows/website-deploy.yaml b/.github/workflows/website-deploy.yaml
index 4e18f70..d9cd91c 100644
--- a/.github/workflows/website-deploy.yaml
+++ b/.github/workflows/website-deploy.yaml
@@ -27,8 +27,27 @@ jobs:
     name: Build and publish website
     runs-on: ubuntu-latest
     timeout-minutes: 180
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+
+      - name: Set up JDK 11
+        uses: actions/setup-java@v2
+        with:
+          distribution: 'temurin'
+          java-version: 11
+
+          
+      - name: Set up Ruby
+        uses: ruby/setup-ruby@v1
+        with:
+          ruby-version: 2.6 # Not needed with a .ruby-version file
+          bundler-cache: true # runs 'bundle install' and caches installed gems automatically
+
       - name: publish
         run: |
+          #!/bin/bash
+          set -e
           cd site
           make setup
           make latest_javadoc