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

zabetak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/main by this push:
     new b901b415e1 [CALCITE-6806] Add CI action to ensure site remains 
buildable after changes
b901b415e1 is described below

commit b901b415e17bc876213e99efe361bf55278d622f
Author: Stamatis Zampetakis <[email protected]>
AuthorDate: Tue Jan 28 11:18:13 2025 +0100

    [CALCITE-6806] Add CI action to ensure site remains buildable after changes
    
    Close apache/calcite#4173
---
 .github/workflows/site.yml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml
new file mode 100644
index 0000000000..ac99829bbf
--- /dev/null
+++ b/.github/workflows/site.yml
@@ -0,0 +1,39 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+name: Build Website and Javadoc
+
+on:
+  pull_request:
+    types: [opened, synchronize, reopened, labeled]
+    paths:
+      - 'site/**'
+    branches:
+      - '*'
+
+jobs:
+  build-website:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
+      - name: Build site
+        working-directory: site
+        run: |
+          docker compose run build-site
+      - name: Build javadoc
+        working-directory: site
+        run: |
+          docker compose run generate-javadoc

Reply via email to