alamb commented on code in PR #26828:
URL: https://github.com/apache/datafusion/pull/26828#discussion_r4425020099


##########
.github/workflows/docs_versions.yaml:
##########
@@ -0,0 +1,84 @@
+# 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.
+
+# Publishes the documentation for released versions to
+# https://datafusion.apache.org/versions/<version>/
+#
+# The list of versions is in docs/source/_static/versions.json
+#
+# The current development docs are published from `main` by docs.yaml.
+
+on:
+  push:
+    branches:
+      - main
+    paths:
+      - .github/workflows/docs_versions.yaml
+      - docs/scripts/build_versions.sh
+      - docs/scripts/release/conf.py
+      - docs/source/_static/versions.json
+      - docs/pyproject.toml
+      - uv.lock
+
+name: Deploy DataFusion versioned docs
+
+# run the publishing workflows one at a time.
+concurrency:
+  group: publish-asf-site
+  cancel-in-progress: false

Review Comment:
   I thought about this -- since this applies both to the "build all the 
versions" job and the 'build just the main version" job it could potentially 
end up cancelling a job that was building old versions for a job that will only 
build main
   
   
   Thus I think it is better to avoid cancelling in progress jobs



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to