This is an automated email from the ASF dual-hosted git repository.
engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new abe674448 chore: publish 1.4.x docs and nightlies (#894)
abe674448 is described below
commit abe674448c03a2e14e2e924eaf4f54cda351d7f0
Author: Arnout Engelen <[email protected]>
AuthorDate: Thu Dec 11 17:13:09 2025 +0100
chore: publish 1.4.x docs and nightlies (#894)
---
.github/workflows/publish-1.4-docs.yml | 91 +++++++++++++++++++++++++++++
.github/workflows/publish-1.4-snapshots.yml | 49 ++++++++++++++++
2 files changed, 140 insertions(+)
diff --git a/.github/workflows/publish-1.4-docs.yml
b/.github/workflows/publish-1.4-docs.yml
new file mode 100644
index 000000000..7f1c1bac8
--- /dev/null
+++ b/.github/workflows/publish-1.4-docs.yml
@@ -0,0 +1,91 @@
+# 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: Publish 1.4 docs
+
+on:
+ workflow_dispatch:
+
+jobs:
+ publish-docs:
+ name: Publish documentation to nightlies.apache.org
+ runs-on: ubuntu-latest
+ if: github.repository == 'apache/pekko-http'
+ steps:
+ - name: Checkout
+ uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #
v6.0.1
+ with:
+ fetch-depth: 0
+ fetch-tags: true
+ ref: 1.4.x
+
+ - name: Set up JDK 8
+ uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e #
v5.1.0
+ with:
+ distribution: temurin
+ java-version: 8
+
+ - name: Install sbt
+ uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1.1.14
+
+ - name: Cache Coursier cache
+ uses: coursier/cache-action@v6
+
+ - name: Build Documentation
+ run: |-
+ sbt -Dpekko.genjavadoc.enabled=true "set ThisBuild / version :=
\"1.4.0\"; docs/paradox; unidoc"
+ env:
+ JAVA_OPTS: "-verbose:gc -Xmx4g"
+
+ # Create directory structure upfront since rsync does not create
intermediate directories otherwise
+ - name: Create directory structure
+ run: |-
+ mkdir -p target/nightly-docs/docs/pekko-http/1.4.0/
+ mkdir -p target/nightly-docs/docs/pekko-http/1.4/
+ cp -r docs/target/paradox/site/main/
target/nightly-docs/docs/pekko-http/1.4.0/docs
+ cp -r docs/target/paradox/site/main/
target/nightly-docs/docs/pekko-http/1.4/docs
+ rm -r docs/target/paradox/site/main/
+ cp -r target/scala-2.13/unidoc
target/nightly-docs/docs/pekko-http/1.4.0/api
+ cp -r target/scala-2.13/unidoc
target/nightly-docs/docs/pekko-http/1.4/api
+ rm -r target/scala-2.13/unidoc
+ cp -r target/javaunidoc
target/nightly-docs/docs/pekko-http/1.4.0/japi
+ cp -r target/javaunidoc target/nightly-docs/docs/pekko-http/1.4/japi
+ rm -r target/javaunidoc
+
+ - name: Upload 1.4.x nightly docs
+ uses: ./.github/actions/sync-nightlies
+ with:
+ upload: true
+ switches: --archive --compress --update --delete --progress
--relative
+ local_path: target/nightly-docs/./docs/pekko-http/1.4.0 # The
intermediate dot is to show `--relative` which paths to operate on
+ remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/
+ remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
+ remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
+ remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
+ remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
+
+ - name: Upload 1.4 nightly docs
+ uses: ./.github/actions/sync-nightlies
+ with:
+ upload: true
+ switches: --archive --compress --update --delete --progress
--relative
+ local_path: target/nightly-docs/./docs/pekko-http/1.4 # The
intermediate dot is to show `--relative` which paths to operate on
+ remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/
+ remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
+ remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
+ remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
+ remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
diff --git a/.github/workflows/publish-1.4-snapshots.yml
b/.github/workflows/publish-1.4-snapshots.yml
new file mode 100644
index 000000000..b7cb6cb4a
--- /dev/null
+++ b/.github/workflows/publish-1.4-snapshots.yml
@@ -0,0 +1,49 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# license agreements; and to You under the Apache License, version 2.0:
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# This file is part of the Apache Pekko project, which was derived from Akka.
+#
+
+name: Publish nightly 1.4 snapshots
+
+on:
+ schedule:
+ - cron: "30 1 * * *"
+ workflow_dispatch:
+
+jobs:
+ publish-artifacts:
+ name: Publish 1.4 artifacts to Apache Nexus
+ runs-on: ubuntu-latest
+ if: github.repository == 'apache/pekko-http'
+ steps:
+ - name: Checkout
+ uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #
v6.0.1
+ with:
+ fetch-depth: 0
+ fetch-tags: true
+ ref: 1.4.x
+
+ - name: Set up JDK 8
+ uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e #
v5.1.0
+ with:
+ distribution: temurin
+ java-version: 8
+
+ - name: Install sbt
+ uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1.1.14
+
+ - name: Cache Coursier cache
+ uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c #
v6.4.7
+
+ - name: Install graphviz
+ run: sudo apt-get install -y graphviz
+
+ - name: Publish to Apache Maven repo
+ run: sbt +publish
+ env:
+ NEXUS_USER: ${{ secrets.NEXUS_USER }}
+ NEXUS_PW: ${{ secrets.NEXUS_PW }}
+ JAVA_OPTS: "-verbose:gc -Xmx4g"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]